diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-02-24 15:50:12 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-02-24 15:50:12 -0300 |
commit | a4c20e3efa14587c6bf55f2e98ec5d1d56b014ca (patch) | |
tree | 2bd431eba8ea2b23d947c3f497deed54e4829952 | |
parent | 0dfa369c3d1673f16e3823b34ef89998307c2603 (diff) | |
download | highline-a4c20e3efa14587c6bf55f2e98ec5d1d56b014ca.tar.gz |
Normalize to Test::Unit assertions
-rwxr-xr-x | test/tc_highline.rb | 4 | ||||
-rwxr-xr-x | test/tc_style.rb | 2 |
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 |