test/unit/hash_inspect_test.rb in mocha-0.10.5 vs test/unit/hash_inspect_test.rb in mocha-0.11.0
- old
+ new
@@ -1,16 +1,16 @@
require File.expand_path('../../test_helper', __FILE__)
require 'mocha/inspect'
class HashInspectTest < Test::Unit::TestCase
-
+
def test_should_keep_spacing_between_key_value
hash = {:a => true}
assert_equal '{:a => true}', hash.mocha_inspect
end
-
+
def test_should_use_mocha_inspect_on_each_item
hash = {:a => 'mocha'}
assert_equal "{:a => 'mocha'}", hash.mocha_inspect
end
-
-end
\ No newline at end of file
+
+end