Do not print trailing whitespace in test data

This commit is contained in:
Andrey Breslav
2013-12-04 14:38:23 +04:00
parent 87879ba654
commit 853ebe3436
39 changed files with 1081 additions and 1077 deletions
@@ -5,12 +5,12 @@ fun test() {
}
---------------------
L0:
<START>
<START>
mark({ throw Exception() test() })
mark(throw Exception())
mark(Exception())
call(Exception, <init>)
throw (throw Exception()) NEXT:[<ERROR>]
mark(throw Exception())
mark(Exception())
call(Exception, <init>)
throw (throw Exception()) NEXT:[<ERROR>]
- mark(test()) PREV:[]
- call(test, test) PREV:[]
L1:
@@ -4,9 +4,9 @@ fun foo() {
}
---------------------
L0:
<START>
<START>
mark({ return ?: null })
ret L1 NEXT:[<END>]
ret L1 NEXT:[<END>]
- jt(L2) NEXT:[r(null), <END>] PREV:[]
- r(null) PREV:[]
L1:
@@ -4,13 +4,13 @@ fun test() {
}
---------------------
L0:
<START>
<START>
mark({ "${throw Exception()} ${1}" })
mark("${throw Exception()} ${1}")
mark(throw Exception())
mark(Exception())
call(Exception, <init>)
throw (throw Exception()) NEXT:[<ERROR>]
mark("${throw Exception()} ${1}")
mark(throw Exception())
mark(Exception())
call(Exception, <init>)
throw (throw Exception()) NEXT:[<ERROR>]
- r(1) PREV:[]
- r("${throw Exception()} ${1}") PREV:[]
L1: