From 697a45b196c606147997372c20d14c6b2eccdda4 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 5 Jan 2011 20:03:28 +0000 Subject: * 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 --- test/-ext-/load/test_dot_dot.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/-ext-/load/test_dot_dot.rb (limited to 'test/-ext-/load') 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 -- cgit v1.2.3