Skip to content

Commit

Permalink
Improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Keluaa committed May 9, 2024
1 parent 864d707 commit ca15df4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -470,5 +470,11 @@ end
a = :(1+2)
@test !CodeDiffs.issame(@code_diff :($a) :(2+2))
end

@testset "Extra" begin
d1 = @code_diff extra_1=(; type=:native, debuginfo=:none) extra_2=(; type=:llvm, color=false) f() f()
d2 = @code_diff type_1=:native debuginfo_1=:none type_2=:llvm color_2=false f() f()
@test d1 == d2
end
end
end

0 comments on commit ca15df4

Please sign in to comment.