Skip to content

Commit

Permalink
Fixup: Test with AbstractString
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Jan 15, 2024
1 parent e29b083 commit 216743b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/alphabet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ end
(AminoAcidAlphabet(), ["Q", "PLBMW", "***"])
]
for S in Ss
for T in [String, SubString, Vector{UInt8}]
for T in [String, SubString, Vector{UInt8}, Test.GenericString]
@test guess_alphabet(T(S)) == A
@test guess_parse(T(S)) isa LongSequence{typeof(A)}
end
Expand All @@ -207,7 +207,7 @@ end
(7, "ATCGAT???"),
(1, ";")
]
for T in [String, SubString, Vector{UInt8}]
for T in [String, SubString, Vector{UInt8}, Test.GenericString]
@test guess_alphabet(T(S)) == index
@test_throws BioSequences.EncodeError guess_parse(T(S))
end
Expand Down

0 comments on commit 216743b

Please sign in to comment.