unittests/other/testcase_verify_test.rb in watir-1.6.5 vs unittests/other/testcase_verify_test.rb in watir-1.6.6.rc1

- old
+ new

@@ -1,25 +1,25 @@ -# 3 tests, 10 assertions, 4 failures, 0 errors - -require 'watir/testcase' - -class VerifyTests < Watir::TestCase - - def test_verify - verify true - assert true - verify false - assert true - end - - def test_verify_equal - verify_equal 1, 1 - verify_equal 1, 2 - verify_equal 3, 4 - end - - def test_verify_match - verify_match /\d*/, '123' - verify_match 'foo', 'foobar' - verify_match '...', 'A' - end +# 3 tests, 10 assertions, 4 failures, 0 errors + +require 'watir/testcase' + +class VerifyTests < Watir::TestCase + + def test_verify + verify true + assert true + verify false + assert true + end + + def test_verify_equal + verify_equal 1, 1 + verify_equal 1, 2 + verify_equal 3, 4 + end + + def test_verify_match + verify_match /\d*/, '123' + verify_match 'foo', 'foobar' + verify_match '...', 'A' + end end \ No newline at end of file