summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:28:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:28:33 +0000
commitb205b5e7b62529435ad566c253ebd5cf9ade7033 (patch)
treee79a78e75af96f7f5d2813b94ce4d5f233b68e15
parent4a81d1359221170c213f1cca8c008def9d4b5b55 (diff)
fix tests for load_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--bootstraptest/test_autoload.rb2
-rw-r--r--bootstraptest/test_thread.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_autoload.rb b/bootstraptest/test_autoload.rb
index fe728e1e4cb..b781fdb7e93 100644
--- a/bootstraptest/test_autoload.rb
+++ b/bootstraptest/test_autoload.rb
@@ -70,7 +70,7 @@ assert_finish 5, %q{
assert_equal 'A::C', %q{
open("zzz.rb", "w") {}
class A
- autoload :C, "zzz"
+ autoload :C, "./zzz"
class C
end
C
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 54544df45ec..c82ad22ebe4 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -228,7 +228,7 @@ assert_equal 'ok', %{
end
END
end
- require "zzz.rb"
+ require "./zzz.rb"
$result
}