summaryrefslogtreecommitdiff
path: root/test/-ext-/load
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:03:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:03:28 +0000
commit697a45b196c606147997372c20d14c6b2eccdda4 (patch)
tree48a14a6bc772db3577eb20287967b22901c06754 /test/-ext-/load
parentc9ed212b9e74f71fb3137c72c80e37088de59c95 (diff)
* dln.c (init_funcname_len): ignore rest from first dot.
[ruby-dev:41774] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/load')
-rw-r--r--test/-ext-/load/test_dot_dot.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/-ext-/load/test_dot_dot.rb b/test/-ext-/load/test_dot_dot.rb
new file mode 100644
index 0000000000..82aa10a95f
--- /dev/null
+++ b/test/-ext-/load/test_dot_dot.rb
@@ -0,0 +1,10 @@
+require 'test/unit'
+
+class Test_DotDot < Test::Unit::TestCase
+ def test_load_dot_dot
+ feature = '[ruby-dev:41774]'
+ assert_nothing_raised(LoadError, feature) {
+ require '-test-/load/dot.dot/dot.dot'
+ }
+ end
+end