Skip to content

Commit

Permalink
must be a string or string expression
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Aug 10, 2024
1 parent ab80ead commit a8f8dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ macro testset_implementations(code::Expr)
_testset_implementations_inner("", TEST_MODULES, code)
end
macro testset_implementations(arg, code::Expr)
if arg isa Union{String,Symbol} || arg isa Expr && arg.head == :string
if arg isa String || arg isa Expr && arg.head == :string
_testset_implementations_inner(arg, TEST_MODULES, code)
else
_testset_implementations_inner("", arg, code)
Expand Down

0 comments on commit a8f8dab

Please sign in to comment.