Skip to content

Commit

Permalink
Expect test: add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Jun 26, 2024
1 parent 871759a commit 18f2b8a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/jsoo/tests.t/b.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b: ok
19 changes: 18 additions & 1 deletion test/blackbox-tests/test-cases/jsoo/tests.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,21 @@ tests stanza with jsoo

$ dune build @default @runtest-js
a: ok
b: ok
File "dune", line 2, characters 11-12:
2 | (names a b)
^
node:internal/modules/cjs/loader:1146
throw err;
^

Error: Cannot find module '$TESTCASE_ROOT/_build/default/b.bc.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v22.0.0-v8-canary20231204cf8ac0f493
[1]

0 comments on commit 18f2b8a

Please sign in to comment.