summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/test')
-rw-r--r--cli/tests/testdata/test/pass.out5
-rw-r--r--cli/tests/testdata/test/pass.ts5
-rw-r--r--cli/tests/testdata/test/steps/output_within.out8
3 files changed, 13 insertions, 5 deletions
diff --git a/cli/tests/testdata/test/pass.out b/cli/tests/testdata/test/pass.out
index bb76e083f..f91286d2d 100644
--- a/cli/tests/testdata/test/pass.out
+++ b/cli/tests/testdata/test/pass.out
@@ -9,6 +9,11 @@ test 5 ... ok ([WILDCARD])
test 6 ... ok ([WILDCARD])
test 7 ... ok ([WILDCARD])
test 8 ... ok ([WILDCARD])
+test 9 ...
+------- output -------
+console.log
+console.error
+----- output end -----
test 9 ... ok ([WILDCARD])
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
diff --git a/cli/tests/testdata/test/pass.ts b/cli/tests/testdata/test/pass.ts
index 288cc7c83..b41f58e45 100644
--- a/cli/tests/testdata/test/pass.ts
+++ b/cli/tests/testdata/test/pass.ts
@@ -7,4 +7,7 @@ Deno.test("test 5", () => {});
Deno.test("test 6", () => {});
Deno.test("test 7", () => {});
Deno.test("test 8", () => {});
-Deno.test("test 9", () => {});
+Deno.test("test 9", () => {
+ console.log("console.log");
+ console.error("console.error");
+});
diff --git a/cli/tests/testdata/test/steps/output_within.out b/cli/tests/testdata/test/steps/output_within.out
index e44843e29..0f5c95ce3 100644
--- a/cli/tests/testdata/test/steps/output_within.out
+++ b/cli/tests/testdata/test/steps/output_within.out
@@ -12,20 +12,20 @@ description ...
------- output -------
3
----- output end -----
- ok ([WILDCARD]ms)
+ inner 1 ... ok ([WILDCARD]ms)
inner 2 ...
------- output -------
4
----- output end -----
- ok ([WILDCARD]ms)
+ inner 2 ... ok ([WILDCARD]ms)
------- output -------
5
----- output end -----
- ok ([WILDCARD]ms)
+ step 1 ... ok ([WILDCARD]ms)
------- output -------
6
----- output end -----
-ok ([WILDCARD]ms)
+description ... ok ([WILDCARD]ms)
[WILDCARD]