Skip to content

Commit

Permalink
Fix tests on 1.6
Browse files Browse the repository at this point in the history
looks like some kind of log capture/ANSI stripping issue
  • Loading branch information
asinghvi17 authored Mar 15, 2024
1 parent 3de71ef commit cfb35b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ buffer = deepcopy(pixel_points)
f, a, p = beeswarm(rand(1:3, 300), randn(300); color = rand(RGBAf, 300), markersize = 20, algorithm = SimpleBeeswarm())
Makie.update_state_before_display!(f)
Makie.update_state_before_display!(f)
@test_warn "Warning: Gutter threshold exceeded" p.gutter = 0.5
@test_warn "Gutter threshold exceeded" p.gutter = 0.5
f, a, p = beeswarm(rand(1:3, 300), randn(300); direction = :x, color = rand(RGBAf, 300), markersize = 20, algorithm = SimpleBeeswarm())
Makie.update_state_before_display!(f)
Makie.update_state_before_display!(f)
@test_warn "Warning: Gutter threshold exceeded" p.gutter = 0.5
@test_warn "Gutter threshold exceeded" p.gutter = 0.5
f, a, p = beeswarm(rand(1:3, 300), randn(300); direction = :y, color = rand(RGBAf, 300), markersize = 9, algorithm = SimpleBeeswarm())
Makie.update_state_before_display!(f)
Makie.update_state_before_display!(f)
Expand All @@ -59,4 +59,4 @@ end

# TODO:
# - Test gutters when added
# - Test that the order of points is preserved
# - Test that the order of points is preserved

1 comment on commit cfb35b0

@asinghvi17
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no clue why this test failed...

Please sign in to comment.