mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c02fa39463
commit
08d0b57000
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 31 18:58:02 2014 Charles Oliver Nutter <headius@headius.com>
|
||||
|
||||
* 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 <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/lib/digest.rb (Digest()): This function should now be
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue