Skip to content

Commit c17884b

Browse files
committed
update tests
1 parent f916b8c commit c17884b

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

test/Anoma/Compilation/Positive.hs

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,10 +1078,8 @@ allTests =
10781078
[]
10791079
$ checkTracesAndOutput
10801080
[ [nock|
1081-
[
1082-
32
10831081
90876768632225629395702952947791536168367734137399490612004543592448844073500
1084-
] |]
1082+
|]
10851083
],
10861084
mkAnomaTest
10871085
90
@@ -1091,17 +1089,10 @@ allTests =
10911089
$(mkRelFile "test090.juvix")
10921090
[]
10931091
$ checkTracesAndOutput
1094-
[ [nock|
1095-
494314595042081500440857251381770292616938994877034494695646244172503432267828341988295847615050091656182697698441111518765263317712889741906029933485191684
1096-
|],
1097-
[nock|
1098-
494314595042081500440857251381770292616938994877034494695646244172503432267828341988295847615050091656182697698441111518765263317712889741906029933485191684
1099-
|],
1100-
[nock|
1101-
0
1092+
[ [nock| 494314595042081500440857251381770292616938994877034494695646244172503432267828341988295847615050091656182697698441111518765263317712889741906029933485191684
11021093
|],
1103-
[nock|
1104-
1
1105-
|]
1094+
[nock| 3316525881893338865696018347376662962495038816228703675702261387957487613897606456822132758411937277787249216059783357696048576285364671454495986153933844 |],
1095+
[nock| 0 |],
1096+
[nock| 1 |]
11061097
]
11071098
]

tests/Anoma/Compilation/positive/test089.juvix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ builtin bytearray
1010
axiom ByteArray : Type;
1111

1212
builtin keccak256
13-
axiom keccak : Nat -> ByteArray;
13+
axiom keccak : Nat -> Nat;
1414

1515
main : _ :=
1616
-- byteStringToNatural (encodeUtf8 "hello") = 478560413032

0 commit comments

Comments
 (0)