1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/psych/test_*.rb: use require_relative to require local library

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
xibbar 2013-03-26 14:55:04 +00:00
parent bfb0edbad2
commit d85bf93776
37 changed files with 37 additions and 37 deletions

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
class ObjectWithInstanceVariables class ObjectWithInstanceVariables
attr_accessor :var1, :var2 attr_accessor :var1, :var2

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestArray < TestCase class TestArray < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
### ###

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestClass < TestCase class TestClass < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestCoder < TestCase class TestCoder < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'date' require 'date'
module Psych module Psych

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestDeprecated < TestCase class TestDeprecated < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestDocument < TestCase class TestDocument < TestCase

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestEmitter < TestCase class TestEmitter < TestCase

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestEncoding < TestCase class TestEncoding < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'yaml' require 'yaml'
module Psych module Psych

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestException < TestCase class TestException < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestHash < TestCase class TestHash < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestJSONTree < TestCase class TestJSONTree < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestMergeKeys < TestCase class TestMergeKeys < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestNil < TestCase class TestNil < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
### ###

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'bigdecimal' require 'bigdecimal'
module Psych module Psych

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class Tagged class Tagged

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestObjectReferences < TestCase class TestObjectReferences < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestOmap < TestCase class TestOmap < TestCase

View file

@ -1,6 +1,6 @@
# coding: utf-8 # coding: utf-8
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestParser < TestCase class TestParser < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'stringio' require 'stringio'
require 'tempfile' require 'tempfile'

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestScalar < TestCase class TestScalar < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'date' require 'date'
module Psych module Psych

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestSerializeSubclasses < TestCase class TestSerializeSubclasses < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestSet < TestCase class TestSet < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestStream < TestCase class TestStream < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestString < TestCase class TestString < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
class PsychStructWithIvar < Struct.new(:foo) class PsychStructWithIvar < Struct.new(:foo)
attr_reader :bar attr_reader :bar

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestSymbol < TestCase class TestSymbol < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestStringTainted < TestCase class TestStringTainted < TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestToYamlProperties < MiniTest::Unit::TestCase class TestToYamlProperties < MiniTest::Unit::TestCase

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
module Psych module Psych
class TestTreeBuilder < TestCase class TestTreeBuilder < TestCase

View file

@ -2,7 +2,7 @@
# vim:sw=4:ts=4 # vim:sw=4:ts=4
# $Id$ # $Id$
# #
require 'psych/helper' require_relative 'helper'
require 'ostruct' require 'ostruct'
# [ruby-core:01946] # [ruby-core:01946]

View file

@ -1,6 +1,6 @@
# -*- coding: UTF-8 -*- # -*- coding: UTF-8 -*-
require 'psych/helper' require_relative 'helper'
require 'tmpdir' require 'tmpdir'
begin begin

View file

@ -1,4 +1,4 @@
require 'psych/helper' require_relative 'helper'
require 'yaml/store' require 'yaml/store'
require 'tmpdir' require 'tmpdir'