From 68530fd3776d085a33f5e0b9a371a2f838bdb87b Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Fri, 16 Apr 2021 13:46:46 +0000 Subject: [PATCH] Fixed expect tests. --- test/njs_expect_test.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/njs_expect_test.exp b/test/njs_expect_test.exp index 8781f1c5..e179f413 100644 --- a/test/njs_expect_test.exp +++ b/test/njs_expect_test.exp @@ -70,7 +70,7 @@ njs_test { # Global completions, yes njs_test { {"\t\ty" - "\a\r\nDisplay all*possibilities? (y or n)*await"} + "\a\r\nDisplay all*possibilities? (y or n)*Array"} } # Global completions, single partial match @@ -393,9 +393,9 @@ njs_test { # Non-ASCII characters njs_test { {"'絵文字'\r\n" - "絵文字"} + "'絵文字'"} {"var v = 'абвгдеёжзийкл';v[10]\r\n" - "й"} + "'й'"} } # Immediate events @@ -805,7 +805,7 @@ njs_test { {"(new Function('return this'))() === globalThis\r\n" "true\r\n"} {"new Function('return this;')\r\n" - "TypeError: function constructor is disabled in \"safe\" mode\r\n"} + "[Function]"} {"new Function('return thi')\r\n" "TypeError: function constructor is disabled in \"safe\" mode\r\n"} } "-u" -- 2.47.3