Skip to content

Commit 2857b5e

Browse files
authored
Update output_control.jl, fix typos (#2727)
1 parent 850465e commit 2857b5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/EnzymeTestUtils/src/output_control.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ struct ExprAndMsg
1212
end
1313

1414
"""
15-
@test_msg msg condion kws...
15+
@test_msg msg condition kws...
1616
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
17+
This is per `Test.@test condition kws...`, except that if it fails it also prints the `msg`.
18+
If `msg==""` then this is just like `@test`, nothing is printed.
1919
20-
### Examles
20+
### Examples
2121
```julia
2222
julia> @test_msg "It is required that the total is under 10" sum(1:1000) < 10;
2323
Test Failed at REPL[1]:1

0 commit comments

Comments
 (0)