Welcome! Log In Create A New Profile

Advanced

[njs] Fixed the unit test's output format for a failed test.

Dmitry Volyntsev
February 27, 2018 06:20AM
details: http://hg.nginx.org/njs/rev/0f1c3efcd894
branches:
changeset: 452:0f1c3efcd894
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Tue Feb 27 14:11:00 2018 +0300
description:
Fixed the unit test's output format for a failed test.

diffstat:

njs/test/njs_unit_test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r ee00992356d9 -r 0f1c3efcd894 njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c Tue Feb 27 14:10:36 2018 +0300
+++ b/njs/test/njs_unit_test.c Tue Feb 27 14:11:00 2018 +0300
@@ -9466,8 +9466,8 @@ njs_unit_test(nxt_bool_t disassemble, nx

printf("njs(\"%.*s\")\nexpected: \"%.*s\"\n got: \"%.*s\"\n",
(int) njs_test[i].script.length, njs_test[i].script.start,
- (int) s.length, s.start, (int) njs_test[i].ret.length,
- njs_test[i].ret.start);
+ (int) njs_test[i].ret.length, njs_test[i].ret.start,
+ (int) s.length, s.start);

goto done;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed the unit test's output format for a failed test.

Dmitry Volyntsev 398 February 27, 2018 06:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready