mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Adding an output file to the test
This commit is contained in:
parent
53d98a358b
commit
8cca53b044
3 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"args": "run --unstable --allow-read main.mts",
|
||||
"output": "3"
|
||||
"output": "main.out"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import * as a from "./a.cts";
|
||||
|
||||
await Deno.stdout.write(new TextEncoder().encode(a.add(1, 2)));
|
||||
console.log(a.add(1, 2));
|
||||
|
|
1
tests/specs/fmt_errors/main.out
Normal file
1
tests/specs/fmt_errors/main.out
Normal file
|
@ -0,0 +1 @@
|
|||
3
|
Loading…
Reference in a new issue