Skip to content

Commit 71cd505

Browse files
committed
Test fix and clean.
1 parent dfca3a3 commit 71cd505

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/MVector.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
if VERSION >= v"1.7.0"
5555
@test ((@MVector Float64[1;2;3;;;])::MVector{3}).data === (1.0, 2.0, 3.0)
5656
@test ((@MVector [1;2;3;;;])::MVector{3}).data === (1, 2, 3)
57-
# @test ((@MVector [;])::MVector{0}).data === ()
58-
@eval @test_broken ((@MVector $(Expr(:ncat, 1)))::MVector{0}).data === ()
59-
# test_expand_error(:(@MVector [;;]))
60-
@eval test_expand_error(:(@MVector $(Expr(:ncat, 2))))
6157
end
6258
end
6359

test/empty_array_syntax.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@testset "[;;;;;]" begin
2-
@test_broken ((@SVector [;])::SVector{0}).data === ()
2+
@test ((@SVector [;])::SVector{0}).data === ()
33
test_expand_error(:(@SVector [;;]))
4-
@test_broken ((@MVector [;])::MVector{0}).data === ()
4+
@test ((@MVector [;])::MVector{0}).data === ()
55
test_expand_error(:(@MVector [;;]))
66

77
@test ((@SMatrix [;;])::SMatrix{0,0}).data === ()

0 commit comments

Comments
 (0)