Skip to content

Commit 3555883

Browse files
committed
Use sort for order-independent test
1 parent 34624fb commit 3555883

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test-utils.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class UnicodePlotTest < Test::Unit::TestCase
22
test("UnicodePlot.canvas_types") do
33
available_canvas_types = [:ascii, :block, :braille, :density, :dot]
4-
assert_equal(available_canvas_types,
5-
UnicodePlot.canvas_types)
4+
assert_equal(available_canvas_types.sort,
5+
UnicodePlot.canvas_types.sort)
66
end
77

88
test("UnicodePlot.border_types") do

0 commit comments

Comments
 (0)