Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Apr 1, 2024
1 parent a78d7db commit 99a542b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
Pkg.add("UnicodePlots"; io) # checked by Plots
import UnicodePlots
using Plots
res = @testset "Prefs" begin
res = @testset "Preferences UnicodePlots" begin
@test_logs (:info, r".*Preferences") Plots.diagnostics(io)
@test backend() == Base.get_extension(PlotsBase, :UnicodePlotsExt).UnicodePlotsBackend()
end
Expand All @@ -61,7 +61,8 @@
"""
import $pkg
using Test, Plots
res = @testset "Backends" begin
$be()
res = @testset "Persistent backend $pkg" begin
@test Plots.backend_name() ≡ :$be
end
exit(res.n_passed == 1 ? 0 : 123)
Expand Down

0 comments on commit 99a542b

Please sign in to comment.