summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-02-24 15:50:12 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-02-24 15:50:12 -0300
commita4c20e3efa14587c6bf55f2e98ec5d1d56b014ca (patch)
tree2bd431eba8ea2b23d947c3f497deed54e4829952
parent0dfa369c3d1673f16e3823b34ef89998307c2603 (diff)
downloadhighline-a4c20e3efa14587c6bf55f2e98ec5d1d56b014ca.tar.gz
Normalize to Test::Unit assertions
-rwxr-xr-xtest/tc_highline.rb4
-rwxr-xr-xtest/tc_style.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/tc_highline.rb b/test/tc_highline.rb
index 5c91e20..37e6165 100755
--- a/test/tc_highline.rb
+++ b/test/tc_highline.rb
@@ -927,7 +927,7 @@ class TestHighLine < Test::Unit::TestCase
q.echo = false
end
- refute_equal("password", answer)
+ assert_not_equal("password", answer)
assert_equal("passwor", answer)
end
@@ -939,7 +939,7 @@ class TestHighLine < Test::Unit::TestCase
q.echo = false
end
- refute_equal("maçã", answer)
+ assert_not_equal("maçã", answer)
assert_equal("maç", answer)
end
diff --git a/test/tc_style.rb b/test/tc_style.rb
index 0e33c77..13eeead 100755
--- a/test/tc_style.rb
+++ b/test/tc_style.rb
@@ -569,7 +569,7 @@ class TestStyle < Test::Unit::TestCase
bright_style = @style1.bright
light_style = @style1.light
- refute_equal bright_style, light_style
+ assert_not_equal bright_style, light_style
assert_equal :bright_foo, bright_style.name
assert_equal :light_foo, light_style.name
assert_equal bright_style.code, light_style.code