Skip to content

Commit

Permalink
[test] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon authored and staticfloat committed Jun 20, 2023
1 parent 0f70e8b commit aaf2df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end
@test hash == answers[sha_func][idx]

# Test sha_(::AbstractString)
if data isa String
if data[idx] isa String
sub_str = deepcopy(data[idx]) |> SubString
@test bytes2hex(sha_func(sub_str)) == answers[sha_func][idx]
end
Expand Down

0 comments on commit aaf2df6

Please sign in to comment.