Skip to content

Commit b36566f

Browse files
committed
Fix tests in Julia 1.10
1 parent 3a5a6d7 commit b36566f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_symmetrysectorsext.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ using Test: @test, @test_broken, @testset
5454
@test blocklabels(r2) == [SectorProduct((; Sz=U1(0))), SectorProduct((; Sz=U1(-1)))]
5555
@test blocklengths(r2) == [1, 1]
5656

57-
# TODO: There is a bug slicing `BitVector` by `GradedOneTo`, investigate.
58-
# See: https://github.com/ITensor/GradedUnitRanges.jl/issues/9
57+
# TODO: There is a bug slicing `BitVector` by `GradedOneTo` in Julia 1.11,
58+
# investigate. See: https://github.com/ITensor/GradedUnitRanges.jl/issues/9
5959
t = SiteType("S=1/2"; gradings=("Sz",))
60-
@test_broken state("0", t)
60+
@test state("0", t) == [1, 0] broken = VERSION v"1.11"
6161

6262
# Force conversion to `Vector{Float64}` before conversion,
6363
# since there is a bug slicing `BitVector` by `GradedOneTo`.

0 commit comments

Comments
 (0)