Skip to content

Commit 97531b6

Browse files
add some tests
1 parent 355ddb0 commit 97531b6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/test_args.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,15 @@ end
5050
:legend_font_color,
5151
:legend_title_font_family,
5252
:legend_title_font_color,
53+
) :aliases = Dict(
54+
(:legend, :leg, :key) => :legend_position,
55+
(:bg_legend, :bg_color_legend, :background_legend, :background_colour_legend, :bg_colour_legend, :background_color_legend) => :legend_background_color
5356
)
54-
@test true
57+
@test Plots._subplot_defaults[:legend_font_family] == :match
58+
@test Plots._subplot_defaults[:legend_column] == 1
59+
@test Plots._keyAliases[:legend] == :legend_position
60+
@test Plots._keyAliases[:legends] == :legend_position
61+
@test Plots._keyAliases[:bgcolour_legend] == :legend_background_color
5562
end
5663

5764
@testset "aspect_ratio" begin

0 commit comments

Comments
 (0)