Skip to content

Commit fd3d600

Browse files
committed
update tests
1 parent b5bed35 commit fd3d600

File tree

12 files changed

+4188
-2935
lines changed

12 files changed

+4188
-2935
lines changed

test/src/e2e_vm_tests/test_programs/should_pass/language/array/array_repeat/stdout.snap

Lines changed: 772 additions & 922 deletions
Large diffs are not rendered by default.

test/src/e2e_vm_tests/test_programs/should_pass/language/configurable_dedup_decode/stdout.snap

Lines changed: 52 additions & 295 deletions
Large diffs are not rendered by default.

test/src/e2e_vm_tests/test_programs/should_pass/language/const_generics/stdout.snap

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ ____
376376
Aborting due to 31 errors.
377377
error: Failed to compile const_generics
378378

379-
> forc test --path test/src/e2e_vm_tests/test_programs/should_pass/language/const_generics --experimental const_generics --test-threads 1 --dbgs --reverts
379+
> forc test --path test/src/e2e_vm_tests/test_programs/should_pass/language/const_generics --experimental const_generics --test-threads 1 --dbgs --reverts --release
380380
exit status: 0
381381
output:
382382
Building test/src/e2e_vm_tests/test_programs/should_pass/language/const_generics
@@ -410,29 +410,12 @@ warning
410410
____
411411

412412
Compiled script "const_generics" with 2 warnings.
413-
Finished debug [unoptimized + fuel] target(s) [8.952 KB] in ???
413+
Finished release [optimized + fuel] target(s) [888 B] in ???
414414
Running 1 test, filtered 0 tests
415415

416416
tested -- const_generics
417417

418-
test run_main ... ok (???, 34686 gas)
419-
debug output:
420-
[src/main.sw:111:13] a = [1, 2]
421-
[src/main.sw:115:13] [C {}].len() = 1
422-
[src/main.sw:120:13] [C {}, C {}].len() = 2
423-
[src/main.sw:124:13] s.len_xxx() = 3
424-
[src/main.sw:130:13] e = OneVariant([1, 2, 3])
425-
[src/main.sw:135:13] e = Nothing
426-
[src/main.sw:153:13] return_n::<3>() = 3
427-
[src/main.sw:155:13] return_n::<5>() = 5
428-
[src/main.sw:161:13] a.len() = 3
429-
[src/main.sw:162:13] a = "ABC"
430-
[src/main.sw:166:13] a.len() = 5
431-
[src/main.sw:167:13] a = "ABCDE"
432-
[src/main.sw:171:13] a.len() = 70
433-
[src/main.sw:172:13] a = "1234567890123456789012345678901234567890123456789012345678901234567890"
434-
[src/main.sw:107:13] A = 2
435-
[src/main.sw:107:13] A = 6
418+
test run_main ... ok (???, 474 gas)
436419

437420
test result: OK. 1 passed; 0 failed; finished in ???
438421

0 commit comments

Comments
 (0)