ruby-changes:15213
From: tenderlove <ko1@a...>
Date: Tue, 30 Mar 2010 03:26:23 +0900 (JST)
Subject: [ruby-changes:15213] Ruby:r27095 (trunk): * test/psych/*: switching tests to use relative require.
tenderlove 2010-03-30 03:25:57 +0900 (Tue, 30 Mar 2010) New Revision: 27095 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27095 Log: * test/psych/*: switching tests to use relative require. [ruby-core:29104] Modified files: trunk/test/psych/test_alias_and_anchor.rb trunk/test/psych/test_array.rb trunk/test/psych/test_boolean.rb trunk/test/psych/test_class.rb trunk/test/psych/test_coder.rb trunk/test/psych/test_document.rb trunk/test/psych/test_emitter.rb trunk/test/psych/test_encoding.rb trunk/test/psych/test_exception.rb trunk/test/psych/test_hash.rb trunk/test/psych/test_json_tree.rb trunk/test/psych/test_null.rb trunk/test/psych/test_object.rb trunk/test/psych/test_omap.rb trunk/test/psych/test_parser.rb trunk/test/psych/test_psych.rb trunk/test/psych/test_scalar.rb trunk/test/psych/test_scalar_scanner.rb trunk/test/psych/test_serialize_subclasses.rb trunk/test/psych/test_set.rb trunk/test/psych/test_string.rb trunk/test/psych/test_struct.rb trunk/test/psych/test_symbol.rb trunk/test/psych/test_to_yaml_properties.rb trunk/test/psych/test_tree_builder.rb trunk/test/psych/test_yaml.rb trunk/test/psych/visitors/test_emitter.rb trunk/test/psych/visitors/test_to_ruby.rb trunk/test/psych/visitors/test_yaml_tree.rb Index: test/psych/test_serialize_subclasses.rb =================================================================== --- test/psych/test_serialize_subclasses.rb (revision 27094) +++ test/psych/test_serialize_subclasses.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestSerializeSubclasses < TestCase Index: test/psych/test_scalar_scanner.rb =================================================================== --- test/psych/test_scalar_scanner.rb (revision 27094) +++ test/psych/test_scalar_scanner.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestScalarScanner < TestCase Index: test/psych/test_array.rb =================================================================== --- test/psych/test_array.rb (revision 27094) +++ test/psych/test_array.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestArray < TestCase Index: test/psych/test_document.rb =================================================================== --- test/psych/test_document.rb (revision 27094) +++ test/psych/test_document.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestDocument < TestCase Index: test/psych/test_boolean.rb =================================================================== --- test/psych/test_boolean.rb (revision 27094) +++ test/psych/test_boolean.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych ### Index: test/psych/test_to_yaml_properties.rb =================================================================== --- test/psych/test_to_yaml_properties.rb (revision 27094) +++ test/psych/test_to_yaml_properties.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestToYamlProperties < MiniTest::Unit::TestCase Index: test/psych/visitors/test_yaml_tree.rb =================================================================== --- test/psych/visitors/test_yaml_tree.rb (revision 27094) +++ test/psych/visitors/test_yaml_tree.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative '../helper' module Psych module Visitors Index: test/psych/visitors/test_to_ruby.rb =================================================================== --- test/psych/visitors/test_to_ruby.rb (revision 27094) +++ test/psych/visitors/test_to_ruby.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative '../helper' module Psych module Visitors Index: test/psych/visitors/test_emitter.rb =================================================================== --- test/psych/visitors/test_emitter.rb (revision 27094) +++ test/psych/visitors/test_emitter.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative '../helper' module Psych module Visitors Index: test/psych/test_hash.rb =================================================================== --- test/psych/test_hash.rb (revision 27094) +++ test/psych/test_hash.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestHash < TestCase Index: test/psych/test_struct.rb =================================================================== --- test/psych/test_struct.rb (revision 27094) +++ test/psych/test_struct.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' class PsychStructWithIvar < Struct.new(:foo) attr_reader :bar Index: test/psych/test_psych.rb =================================================================== --- test/psych/test_psych.rb (revision 27094) +++ test/psych/test_psych.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' class TestPsych < Psych::TestCase def test_dump_stream Index: test/psych/test_encoding.rb =================================================================== --- test/psych/test_encoding.rb (revision 27094) +++ test/psych/test_encoding.rb (revision 27095) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require 'test/psych/helper' +require_relative 'helper' module Psych class TestEncoding < TestCase Index: test/psych/test_json_tree.rb =================================================================== --- test/psych/test_json_tree.rb (revision 27094) +++ test/psych/test_json_tree.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestJSONTree < TestCase Index: test/psych/test_set.rb =================================================================== --- test/psych/test_set.rb (revision 27094) +++ test/psych/test_set.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestSet < TestCase Index: test/psych/test_omap.rb =================================================================== --- test/psych/test_omap.rb (revision 27094) +++ test/psych/test_omap.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestOmap < TestCase Index: test/psych/test_parser.rb =================================================================== --- test/psych/test_parser.rb (revision 27094) +++ test/psych/test_parser.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestParser < TestCase Index: test/psych/test_coder.rb =================================================================== --- test/psych/test_coder.rb (revision 27094) +++ test/psych/test_coder.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestCoder < TestCase Index: test/psych/test_exception.rb =================================================================== --- test/psych/test_exception.rb (revision 27094) +++ test/psych/test_exception.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestException < TestCase Index: test/psych/test_yaml.rb =================================================================== --- test/psych/test_yaml.rb (revision 27094) +++ test/psych/test_yaml.rb (revision 27095) @@ -2,7 +2,7 @@ # vim:sw=4:ts=4 # $Id$ # -require 'test/psych/helper' +require_relative 'helper' # [ruby-core:01946] module Psych_Tests Index: test/psych/test_class.rb =================================================================== --- test/psych/test_class.rb (revision 27094) +++ test/psych/test_class.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestClass < TestCase Index: test/psych/test_alias_and_anchor.rb =================================================================== --- test/psych/test_alias_and_anchor.rb (revision 27094) +++ test/psych/test_alias_and_anchor.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestAliasAndAnchor < TestCase Index: test/psych/test_scalar.rb =================================================================== --- test/psych/test_scalar.rb (revision 27094) +++ test/psych/test_scalar.rb (revision 27095) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require 'test/psych/helper' +require_relative 'helper' module Psych class TestScalar < TestCase Index: test/psych/test_symbol.rb =================================================================== --- test/psych/test_symbol.rb (revision 27094) +++ test/psych/test_symbol.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestSymbol < TestCase Index: test/psych/test_tree_builder.rb =================================================================== --- test/psych/test_tree_builder.rb (revision 27094) +++ test/psych/test_tree_builder.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestTreeBuilder < TestCase Index: test/psych/test_object.rb =================================================================== --- test/psych/test_object.rb (revision 27094) +++ test/psych/test_object.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class Tagged Index: test/psych/test_string.rb =================================================================== --- test/psych/test_string.rb (revision 27094) +++ test/psych/test_string.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych class TestString < TestCase Index: test/psych/test_emitter.rb =================================================================== --- test/psych/test_emitter.rb (revision 27094) +++ test/psych/test_emitter.rb (revision 27095) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require 'test/psych/helper' +require_relative 'helper' module Psych class TestEmitter < TestCase Index: test/psych/test_null.rb =================================================================== --- test/psych/test_null.rb (revision 27094) +++ test/psych/test_null.rb (revision 27095) @@ -1,4 +1,4 @@ -require 'test/psych/helper' +require_relative 'helper' module Psych ### -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/