-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update many cuzz.json files to use regex
- Loading branch information
Showing
24 changed files
with
3,942 additions
and
24,142 deletions.
There are no files selected for viewing
3,873 changes: 93 additions & 3,780 deletions
3,873
examples/experimental/test/end_to_end/candid_rpc/primitive_types/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,946 changes: 1,259 additions & 7,687 deletions
8,946
examples/experimental/test/end_to_end/candid_rpc/simple_erc20/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"expectedErrors": [ | ||
"Method: canisterCrossCanisterCall \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 3, No route to canister", | ||
"Method: canisterCrossCanisterCall \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 5, IC0536: Management canister has no method" | ||
"Method: canisterCrossCanisterCall \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 5, IC0536: Management canister has no method", | ||
"Method: canisterCrossCanisterCall \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 3, Canister .* not found" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/stable/test/end_to_end/candid_rpc/composite_queries/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/stable/test/end_to_end/candid_rpc/cross_canister_calls/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/stable/test/end_to_end/candid_rpc/ledger_canister/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"expectedErrors": [ | ||
"xInvalid account identifier: Checksum failed for", | ||
"Method: executeTransfer \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 5, IC0503: Error from Canister bd3sg-teaaa-aaaaa-qaaba-cai: Canister called `ic0.trap` with message: Invalid account identifier: Checksum failed for .*, expected check bytes 081f456e but found 0c000000", | ||
"xDeserialization Failed" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
examples/stable/test/end_to_end/candid_rpc/management_canister/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"expectedErrors": [ | ||
"xUncaught Error: Rejection code 3, Unable to route management canister request", | ||
"Method: executeClearChunkStore \\(update\\)[\\s\\S]*Uncaught Error: Rejection code 3, Unable to route management canister request", | ||
"xnot found" | ||
] | ||
} |
4 changes: 3 additions & 1 deletion
4
examples/stable/test/end_to_end/candid_rpc/motoko_examples/cert-var/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"expectedErrors": ["xUncaught Error: Invalid nat32 argument: 4294967296"] | ||
"expectedErrors": [ | ||
"Method: inc \\(update\\)[\\s\\S]*Uncaught Error: Invalid nat32 argument: 4294967296" | ||
] | ||
} |
4 changes: 3 additions & 1 deletion
4
examples/stable/test/end_to_end/candid_rpc/motoko_examples/factorial/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"expectedErrors": ["xCanister trapped: heap out of bounds"] | ||
"expectedErrors": [ | ||
"Method: fac \\(update\\)[\\s\\S]*Canister trapped: heap out of bounds" | ||
] | ||
} |
4 changes: 3 additions & 1 deletion
4
examples/stable/test/end_to_end/candid_rpc/motoko_examples/http_counter/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"expectedErrors": ["xshould not happen"] | ||
"expectedErrors": [ | ||
"Method: http_streaming \\(query\\)[\\s\\S]*should not happen" | ||
] | ||
} |
4 changes: 3 additions & 1 deletion
4
examples/stable/test/end_to_end/candid_rpc/motoko_examples/threshold_ecdsa/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"expectedErrors": ["xmessageHash must be 32 bytes"] | ||
"expectedErrors": [ | ||
"Method: sign \\(update\\)[\\s\\S]*messageHash must be 32 bytes" | ||
] | ||
} |
4 changes: 2 additions & 2 deletions
4
examples/stable/test/end_to_end/candid_rpc/primitive_types/cuzz.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"expectedErrors": [ | ||
"xUncaught: Anything you want", | ||
"xError: Invalid empty argument: undefined" | ||
"Method: getEmpty \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught: Anything you want", | ||
"Error: Invalid empty argument: undefined" | ||
] | ||
} |
Oops, something went wrong.