summary refs log tree commit diff stats
path: root/tests/js
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-05 05:56:15 -0700
committerGitHub <noreply@github.com>2020-05-05 14:56:15 +0200
commitc28a057a6bd5f20445e11d82c4028762ae1bf1b6 (patch)
treed5a6e7ab9e53dc68eda848c1c2dd3afc67972acb /tests/js
parent6b7b5fb4fa7865d17f2433ddc49bac1483b19a01 (diff)
downloadNim-c28a057a6bd5f20445e11d82c4028762ae1bf1b6.tar.gz
fix js stacktraces, unify all file,line,col formatting into a single function (#14230)
* fix https://github.com/timotheecour/Nim/issues/135 ; unify all file,line,col formatting into a single function
Diffstat (limited to 'tests/js')
-rw-r--r--tests/js/t7224.nim9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/js/t7224.nim b/tests/js/t7224.nim
index be9d0ae9c..77fef10a7 100644
--- a/tests/js/t7224.nim
+++ b/tests/js/t7224.nim
@@ -1,10 +1,11 @@
 discard """
   cmd: "nim $target $options --stackTrace:on --lineTrace:on $file"
   outputsub: '''
-t7224.aaa, line: 21
-t7224.bbb, line: 18
-t7224.ccc, line: 15
-t7224.ddd, line: 12
+t7224.nim(25) at module t7224
+t7224.nim(22) at t7224.aaa
+t7224.nim(19) at t7224.bbb
+t7224.nim(16) at t7224.ccc
+t7224.nim(13) at t7224.ddd
 '''
 """