diff options
author | headius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-31 19:37:38 +0000 |
---|---|---|
committer | headius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-31 19:37:38 +0000 |
commit | 08d0b5700073bd5d872007c8aacad5900dfaed72 (patch) | |
tree | e36c4e3d36457c8791dd753d228c9ced41418504 /test/psych | |
parent | c02fa39463a0c6bf698b01bc610135604aca2ff4 (diff) | |
download | ruby-08d0b5700073bd5d872007c8aacad5900dfaed72.tar.gz |
* test/psych/test_emitter.rb: Fix line_width test...initial value
is impl-specific and attr assignment always returns LHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_emitter.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |