From: Thomas Sawyer Date: 2011-07-28T06:20:55+09:00 Subject: [ruby-core:38569] [Ruby 1.9 - Bug #5109][Open] YAML output has changed Issue #5109 has been reported by Thomas Sawyer. ---------------------------------------- Bug #5109: YAML output has changed http://redmine.ruby-lang.org/issues/5109 Author: Thomas Sawyer Status: Open Priority: Normal Assignee: Category: lib Target version: ruby -v: ruby 1.9.3dev (2011-07-03 trunk 32372) [x86_64-linux] Have no idea why, but I noticed that 1.9.3 is producing strange YAML output: snippet: - 35: '' - 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|' - 37: ! ' @result.assert == n.to_i' - 38: ! ' end' - 39: end Where as in 1.9.2 it comes out more like one would expect: snippet: - 35: "" - 36: " Then 'the result should be (((\\d+))) on the screen' do |n|" - 37: " @result.assert == n.to_i" - 38: " end" - 39: end -- http://redmine.ruby-lang.org