Fix the order of assert_equal arguments in a test.
This commit is contained in:
parent
f48294c4ed
commit
817448d31e
|
@ -22,14 +22,14 @@ class HelperTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_flatten
|
def test_flatten
|
||||||
assert_equal(flatten("FooBar"), "FooBar")
|
assert_equal("FooBar", flatten("FooBar"))
|
||||||
|
|
||||||
assert_equal(flatten("Foo\rBar"), "FooBar")
|
assert_equal("FooBar", flatten("Foo\rBar"))
|
||||||
|
|
||||||
assert_equal(flatten("Foo\nBar"), "Foo
Bar")
|
assert_equal("Foo
Bar", flatten("Foo\nBar"))
|
||||||
|
|
||||||
assert_equal(flatten("Hello\nWorld!\nYOU ARE \rFLAT?\n\rOMGZ!"),
|
assert_equal("Hello
World!
YOU ARE FLAT?
OMGZ!",
|
||||||
"Hello
World!
YOU ARE FLAT?
OMGZ!")
|
flatten("Hello\nWorld!\nYOU ARE \rFLAT?\n\rOMGZ!"))
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_list_of_should_render_correctly
|
def test_list_of_should_render_correctly
|
||||||
|
|
Loading…
Reference in New Issue