From dcb69f588a7c2d2c021dceae6bc899ec1637571e Mon Sep 17 00:00:00 2001 From: justjavac Date: Thu, 13 Dec 2018 10:50:42 +0800 Subject: [PATCH] Fix test --- tests/console_assert_001.test | 2 -- tests/console_assert_001.ts | 2 ++ tests/console_assert_001.ts.out | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/console_assert_001.test b/tests/console_assert_001.test index d1c821c6ed2945..59cb92839ef7cf 100644 --- a/tests/console_assert_001.test +++ b/tests/console_assert_001.test @@ -1,4 +1,2 @@ args: tests/console_assert_001.ts --reload -check_stderr: true -exit_code: 0 output: tests/console_assert_001.ts.out diff --git a/tests/console_assert_001.ts b/tests/console_assert_001.ts index 4d9d1aa71a1ca1..136b20f7581eaf 100644 --- a/tests/console_assert_001.ts +++ b/tests/console_assert_001.ts @@ -1 +1,3 @@ +console.log("Hello"); console.assert(true, "should not fail"); +console.log("World"); diff --git a/tests/console_assert_001.ts.out b/tests/console_assert_001.ts.out index e69de29bb2d1d6..f9264f7fbd31ae 100644 --- a/tests/console_assert_001.ts.out +++ b/tests/console_assert_001.ts.out @@ -0,0 +1,2 @@ +Hello +World