From 411bc9b277a7db6d3cf0297b4f5c3c6da233e2c2 Mon Sep 17 00:00:00 2001 From: Dan Milne Date: Fri, 2 Dec 2011 15:52:47 +1100 Subject: [PATCH] Use assert_false, rather than refute --- test/hsmr_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hsmr_test.rb b/test/hsmr_test.rb index c17e57d..7022acc 100644 --- a/test/hsmr_test.rb +++ b/test/hsmr_test.rb @@ -78,7 +78,7 @@ class TestHSMR < Test::Unit::TestCase def test_should_detect_odd_parity_in_a_key odd_key = HSMR::Key.new("41A2AC14A90C583741A2AC14A90C5837") - refute odd_key.odd_parity? + assert_false odd_key.odd_parity? end def test_should_set_double_length_key_parity_to_odd @@ -93,7 +93,7 @@ class TestHSMR < Test::Unit::TestCase def test_should_detect_odd_parity_in_a_component odd_component = HSMR::Component.new("41A2AC14A90C583741A2AC14A90C5837") - refute odd_component.odd_parity? + assert_false odd_component.odd_parity? end def test_should_set_double_length_component_parity_to_odd