diff --git a/ChangeLog b/ChangeLog index 82bab4d456..a5fb3c9bc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 31 18:58:02 2014 Charles Oliver Nutter + + * test/psych/test_emitter.rb: Fix line_width test...initial value + is impl-specific and attr assignment always returns LHS. + Fri Oct 31 22:19:30 2014 Akinori MUSHA * ext/digest/lib/digest.rb (Digest()): This function should now be diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb index 0554ae5f85..1c96c12379 100644 --- a/test/psych/test_emitter.rb +++ b/test/psych/test_emitter.rb @@ -11,8 +11,7 @@ module Psych end def test_line_width - assert_equal 0, @emitter.line_width - assert_equal 10, @emitter.line_width = 10 + @emitter.line_width = 10 assert_equal 10, @emitter.line_width end