Skip to content

Commit

Permalink
Explicit types in test RHS
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Sep 29, 2023
1 parent c123952 commit 47e26dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sparsevector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ mutable struct t20488 end

# ensure that a vector of sparsevecs doesn't use pretty printing for elements
S = sparsevec(Int64[1,4], Int64[2,3])
@test repr(S) == "sparsevec($([1, 4]), $([2, 3]), 4)"
@test repr(S) == "sparsevec($(Int64[1,4]), $(Int64[2,3]), 4)"
@test repr([S]) == "$(SparseArrays.SparseVector){Int64, Int64}[$(repr(S))]"
end

Expand Down

0 comments on commit 47e26dd

Please sign in to comment.