From 55c3b1444db0a4a7a01f4dcc955fc07498d5547e Mon Sep 17 00:00:00 2001 From: Dmitry Polienko Date: Fri, 20 May 2016 16:03:08 +0600 Subject: [PATCH] Slightly better test case Tests identity rather than exact output. --- tests/js/testtojsstr.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/js/testtojsstr.nim b/tests/js/testtojsstr.nim index c73b802541..03ac89e207 100644 --- a/tests/js/testtojsstr.nim +++ b/tests/js/testtojsstr.nim @@ -1,6 +1,8 @@ discard """ - output = "" + output = "И\n" """ let s: string = "И\n" let cs = s.cstring + +echo $s