[njs] Adapted expect tests after 775c81dcbe61.

Dmitry Volyntsev xeioex at nginx.com
Wed Aug 26 14:59:04 UTC 2020


details:   https://hg.nginx.org/njs/rev/781c6b5e81cc
branches:  
changeset: 1502:781c6b5e81cc
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Wed Aug 26 14:55:28 2020 +0000
description:
Adapted expect tests after 775c81dcbe61.

diffstat:

 test/njs_expect_test.exp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 85bfd770a3da -r 781c6b5e81cc test/njs_expect_test.exp
--- a/test/njs_expect_test.exp	Mon Aug 24 11:28:21 2020 +0000
+++ b/test/njs_expect_test.exp	Wed Aug 26 14:55:28 2020 +0000
@@ -329,7 +329,7 @@ njs_test {
     {"var o = {toString: function(){}, log: console.log}\r\n"
      "undefined\r\n>> "}
     {"o\r\n"
-     "o\r\n{\r\n toString: \\\[Function],\r\n log: \\\[Function: native]\r\n}"}
+     "o\r\n{\r\n toString: \\\[Function],\r\n log: \\\[Function: log]\r\n}"}
 }
 
 njs_test {


More information about the nginx-devel mailing list