Skip to content

Commit 540fe1a

Browse files
authored
Merge branch 'master' into Base_displaysize_typeassert_return_value
2 parents 54a58c0 + 0802b2e commit 540fe1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/Test/docs/src/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,13 @@ Using our knowledge of `Test.jl`, here are some example tests we could add to `m
478478
@testset "Testset 1" begin
479479
@test 2 == simple_add(1, 1)
480480
@test 3.5 == simple_add(1, 2.5)
481-
@test_throws MethodError simple_add(1, "A")
482-
@test_throws MethodError simple_add(1, 2, 3)
481+
@test_throws MethodError simple_add(1, "A")
482+
@test_throws MethodError simple_add(1, 2, 3)
483483
end
484484

485485
@testset "Testset 2" begin
486486
@test 1.0 == type_multiply(1.0, 1.0)
487-
@test isa(type_multiply(2.0, 2.0), Float64)
487+
@test isa(type_multiply(2.0, 2.0), Float64)
488488
@test_throws MethodError type_multiply(1, 2.5)
489489
end
490490
```

0 commit comments

Comments
 (0)