You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when (null (show c) && (isNothing i) && (null$ catMaybes [o,e]) &&null (show x)) $fail""
99
100
f <- sourceName . statePos <$> getParserState
100
-
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments}
101
+
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments,trailingComments=[]}
101
102
ptrace " format1test ." t
102
103
return t
103
104
@@ -166,7 +167,7 @@ format2test i = do
166
167
ptrace " format2test x" x
167
168
when (null (show c) && (isNothing i) && (null$ catMaybes [o,e]) &&null (show x)) $fail""
168
169
f <- sourceName . statePos <$> getParserState
169
-
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments}
170
+
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments,trailingComments=[]}
170
171
ptrace " format2test ." t
171
172
return t
172
173
@@ -264,7 +265,7 @@ format3test i = do
264
265
ptrace " format3test x" x
265
266
when (null (show c) && (isNothing i) && (null$ catMaybes [o,e]) &&null (show x)) $fail""
266
267
f <- sourceName . statePos <$> getParserState
267
-
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments}
268
+
let t =ShellTest{testname=f,command=c,stdin=i,stdoutExpected=o,stderrExpected=e,exitCodeExpected=x,lineNumber=ln,comments=comments,trailingComments=[]}
0 commit comments