We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 850465e commit 2857b5eCopy full SHA for 2857b5e
lib/EnzymeTestUtils/src/output_control.jl
@@ -12,12 +12,12 @@ struct ExprAndMsg
12
end
13
14
"""
15
- @test_msg msg condion kws...
+ @test_msg msg condition kws...
16
17
-This is per `Test.@test condion kws...` except that if it fails it also prints the `msg`.
18
-If `msg==""` then this is just like `@test`, nothing is printed
+This is per `Test.@test condition kws...`, except that if it fails it also prints the `msg`.
+If `msg==""` then this is just like `@test`, nothing is printed.
19
20
-### Examles
+### Examples
21
```julia
22
julia> @test_msg "It is required that the total is under 10" sum(1:1000) < 10;
23
Test Failed at REPL[1]:1
0 commit comments