Skip to content

Commit 021dc7b

Browse files
authored
Add tests
1 parent 5b7ffc5 commit 021dc7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_blockindices.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,8 @@ end
713713
@test blockaxes(S) == blockaxes(b)
714714
@test S[Block(2)] == 2:3
715715
@test S[Block.(1:2)] == 1:3
716-
@test axes(S) == axes(b)
716+
@test axes(S) axes(b) (b,)
717+
@test Base.axes1(S) b
717718

718719

719720
bs = BlockSlice(Block.(1:3), 1:6)

0 commit comments

Comments
 (0)