Index: test_yaml.rb =================================================================== --- test_yaml.rb (revision 22472) +++ test_yaml.rb (working copy) @@ -427,6 +427,32 @@ ) end + # + # Reports from N.Easterly & J.Trupiano : Tests with patch from daz + # [ruby-core:23006] [Bug #1311] http://redmine.ruby-lang.org/issues/show/1311 + # + def test_scan_scalar_nl + assert_cycle(< klass) - end - require 'test/unit/ui/console/testrunner' - Test::Unit::UI::Console::TestRunner.run(suite).passed? -end +#~ if $0 == __FILE__ + #~ suite = Test::Unit::TestSuite.new('YAML') + #~ ObjectSpace.each_object(Class) do |klass| + #~ suite << klass.suite if (Test::Unit::TestCase > klass) + #~ end + #~ require 'test/unit/ui/console/testrunner' + #~ Test::Unit::UI::Console::TestRunner.run(suite).passed? +#~ end