We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd0fca commit 0937dc4Copy full SHA for 0937dc4
tests/unittests/resources/LangSuite/builtins-tests.ark
@@ -1,6 +1,9 @@
1
(import std.Testing)
2
(import std.List)
3
4
+(let foo (fun ((mut a) (ref b) c)
5
+ (+ a (* b c))))
6
+
7
(test:suite builtin {
8
(test:case "time" {
9
(let old (time))
@@ -18,4 +21,7 @@
18
21
"should not find any number outside the given range")
19
22
20
23
(let r (random))
- (test:expect (and (<= r 2147483647) (>= r -2147483648))) })})
24
+ (test:expect (and (<= r 2147483647) (>= r -2147483648))) })
25
26
+ (test:case "disassemble" {
27
+ (disassemble foo) }) })
0 commit comments