qr test fix

This commit is contained in:
Vishal 2022-12-25 20:32:37 +05:30
parent 6e05556513
commit 7e1e7bdf78
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,10 @@ homepage: https://github.com/vishalxl/nostr_console
# sorted lists printed in profile ( radixrat)
# sorted tree children - now posts get printed in sorted order
# --lnqr print LNBC invoices as qr code
# only maximum 500 contacts are fetched.
# fetching logic: first all follows, ~50 well known accounts, and top tagged people are fetched for few days. Then all live events are fetched for last 2 hous and ongoing.
# test fix
#0.2.9
# improved fetching logic

View File

@ -284,7 +284,7 @@ String expectedResult =
String profilePubkey1 = "add06b88bd78c5cbb2cd990e873adfba3eaf8e0217d3208be2be770eb506d430";
expect (pubkeyQrCodeResult1, getPubkeyAsQrString(profilePubkey1), reason: "testing qr code function");
String lnQrCodeResult1 = """\n\n█▀▀▀▀▀█ █▀▄█▄▄█▀ █ ▄▄ ▀▄ ▀ ▀█▀ ▀▄▀ ██ █▀ ▄█▀███ █▀ ▀▄ █▀▀▀▀▀█
String lnQrCodeResult1 = """:-\n\n█▀▀▀▀▀█ █▀▄█▄▄█▀ █ ▄▄ ▀▄ ▀ ▀█▀ ▀▄▀ ██ █▀ ▄█▀███ █▀ ▀▄ █▀▀▀▀▀█