Skip to content

Commit d72b146

Browse files
committed
update comments and fix error
1 parent c9308eb commit d72b146

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/meta_testing_tools.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# This is tools for testing ChainRulesTestUtils itself
2-
# if they were less nasty in implementation we might consider moving them to a package
3-
# MetaTesting.jl
2+
# We might consider moving them to a package MetaTesting.jl
43

54
"""
65
EncasedTestSet(desc, results) <: AbstractTestset
@@ -97,7 +96,7 @@ function errors(f, msg_pattern="")
9796
results = nonpassing_results(f)
9897

9998
for result in results
100-
result isa Test.Fail && error("Test actually failed (nor errored): \n $result")
99+
result isa Test.Fail && error("Test actually failed (not errored): \n $result")
101100
result isa Test.Error && occursin(msg_pattern, result.value) && return true
102101
end
103102
return false # no matching error occured

0 commit comments

Comments
 (0)