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 445c32e commit ecd75c0Copy full SHA for ecd75c0
tests/unittests/resources/LangSuite/builtins-tests.ark
@@ -1,5 +1,6 @@
1
(import std.Testing)
2
(import std.List)
3
+(import std.IO :fileExists?)
4
5
(let foo (fun ((mut a) (ref b) c)
6
(+ a (* b c))))
@@ -25,4 +26,6 @@
25
26
27
(test:case "disassemble" {
28
(disassemble foo)
- (disassemble "tests/unittests/resources/DiagnosticsSuite/runtime/__arkscript__/assert.arkc") }) })
29
+ (let filename "tests/unittests/resources/DiagnosticsSuite/runtime/__arkscript__/assert.arkc")
30
+ (if (fileExists? filename)
31
+ (disassemble filename)) }) })
0 commit comments