Skip to content

Commit f4e898f

Browse files
authored
Checkbounds test for mismatched Fill indices (#224)
* Checkbounds test for mismatched Bool Fill * checkbounds test for mismatched Int Fill
1 parent 503fb94 commit f4e898f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,8 @@ end
12921292
f = Fill(v, ∞)
12931293
@test checkbounds(Bool, r, f)
12941294
end
1295+
@test checkbounds(Bool, r, Fill(1, 1))
1296+
@test !checkbounds(Bool, r, Fill(true, 1))
12951297
end
12961298

12971299
include("test_infconv.jl")

0 commit comments

Comments
 (0)