Created
June 10, 2012 00:42
-
-
Save mostlyobvious/2903247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test/unit' | |
class AssertMatchTest < Test::Unit::TestCase | |
def test_assertion_count | |
assert_match /abc/, 'abc' | |
end | |
end | |
# 1.9.3 | |
# | |
# Running tests: | |
# | |
# . | |
# | |
# Finished tests in 0.001630s, 613.3697 tests/s, 1226.7395 assertions/s. | |
# | |
# 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips | |
# 1.9.2 | |
# | |
# Loaded suite test | |
# Started | |
# . | |
# Finished in 0.000653 seconds. | |
# | |
# 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips | |
# | |
# Test run options: --seed 23544 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment