Skip to content

Commit 816624d

Browse files
committed
tests: test pass/fail filters in non-dry mode
1 parent ca36072 commit 816624d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,12 @@ end # Failing
11001100
check(Failing, dry=true, marks=true, -pass, [], output="""
11011101
1| has fails ✘
11021102
3| unrun
1103+
""")
1104+
retest(Failing, pass, -fail) # test that pass/fail filters are handled in non-dry mode
1105+
check(Failing, dry=true, marks=true, [], output="""
1106+
1| has fails ✘
1107+
2| also has passes ✔
1108+
3| unrun
11031109
""")
11041110
end
11051111

0 commit comments

Comments
 (0)