fix a test

This commit is contained in:
julian 2024-10-18 16:55:27 -06:00 committed by julian-CStack
parent 16b9254761
commit c913b05fc9

View file

@ -95,7 +95,7 @@ void main() {
test("build a uri string with empty params", () { test("build a uri string with empty params", () {
expect( expect(
AddressUtils.buildUriString( AddressUtils.buildUriString(
Firo(CryptoCurrencyNetwork.main), firoAddress, {}), Firo(CryptoCurrencyNetwork.main).uriScheme, firoAddress, {}),
"firo:$firoAddress", "firo:$firoAddress",
); );
}); });
@ -103,7 +103,7 @@ void main() {
test("build a uri string with one param", () { test("build a uri string with one param", () {
expect( expect(
AddressUtils.buildUriString( AddressUtils.buildUriString(
Firo(CryptoCurrencyNetwork.main), Firo(CryptoCurrencyNetwork.main).uriScheme,
firoAddress, firoAddress,
{"amount": "10.0123"}, {"amount": "10.0123"},
), ),
@ -114,7 +114,7 @@ void main() {
test("build a uri string with some params", () { test("build a uri string with some params", () {
expect( expect(
AddressUtils.buildUriString( AddressUtils.buildUriString(
Firo(CryptoCurrencyNetwork.main), Firo(CryptoCurrencyNetwork.main).uriScheme,
firoAddress, firoAddress,
{"amount": "10.0123", "message": "Some kind of message!"}, {"amount": "10.0123", "message": "Some kind of message!"},
), ),