File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
{ foo: *[32m'bar'*[39m } with object format param
4
4
5
5
Error: test
6
- at abc (../fixtures/node_modules/bar.js:4:4)
6
+ at abc (../fixtures/node_modules/bar.js:4:4)
7
7
foobar
8
- at * (*console_colors.js:*:*)
8
+ at * (*console_colors.js:*:*)
9
9
*[90m at * (internal*:*:*)*[39m
10
10
*[90m at *[39m
11
11
*[90m at *[39m
@@ -14,22 +14,22 @@ at * (*console_colors.js:*:*)
14
14
*[90m at *[39m
15
15
16
16
Error: Should not ever get here.
17
- at * (*node_modules*[4m*node_modules*[24m*bar.js:*:*)
17
+ at * (*node_modules*[4m*node_modules*[24m*bar.js:*:*)
18
18
*[90m at *[39m
19
19
*[90m at *[39m
20
20
*[90m at *[39m
21
21
*[90m at *[39m
22
22
*[90m at *[39m
23
23
*[90m at *[39m
24
- at * (*console_colors.js:*:*)
24
+ at * (*console_colors.js:*:*)
25
25
*[90m at *[39m
26
26
*[90m at *[39m
27
27
28
28
Error
29
- at evalmachine.<anonymous>:*:*
29
+ at evalmachine.<anonymous>:*:*
30
30
*[90m at Script.runInThisContext (vm.js:*:*)*[39m
31
31
*[90m at Object.runInThisContext (vm.js:*:*)*[39m
32
- at * (*console_colors.js:*:*)
32
+ at * (*console_colors.js:*:*)
33
33
*[90m at *[39m
34
34
*[90m at *[39m
35
35
*[90m at *[39m
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def IsFailureOutput(self, output):
66
66
patterns .append (pattern )
67
67
# Compare actual output with the expected
68
68
raw_lines = (output .stdout + output .stderr ).split ('\n ' )
69
- outlines = [ s .strip () for s in raw_lines if not self .IgnoreLine (s ) ]
69
+ outlines = [ s .rstrip () for s in raw_lines if not self .IgnoreLine (s ) ]
70
70
if len (outlines ) != len (patterns ):
71
71
print ("length differs." )
72
72
print ("expect=%d" % len (patterns ))
You can’t perform that action at this time.
0 commit comments