mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
Adding an output file to the test
This commit is contained in:
parent
53d98a358b
commit
8cca53b044
@ -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 New Issue
Block a user