We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9308eb commit d72b146Copy full SHA for d72b146
test/meta_testing_tools.jl
@@ -1,6 +1,5 @@
1
# 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
+# We might consider moving them to a package MetaTesting.jl
4
5
"""
6
EncasedTestSet(desc, results) <: AbstractTestset
@@ -97,7 +96,7 @@ function errors(f, msg_pattern="")
97
96
results = nonpassing_results(f)
98
99
for result in results
100
- result isa Test.Fail && error("Test actually failed (nor errored): \n $result")
+ result isa Test.Fail && error("Test actually failed (not errored): \n $result")
101
result isa Test.Error && occursin(msg_pattern, result.value) && return true
102
end
103
return false # no matching error occured
0 commit comments