summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-18 05:44:30 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-18 05:44:30 +0000
commit806cc716daa6414e284b859d3e520dcb34133ffc (patch)
tree81ceba5023689beff323d380762be296b422023e /test/ruby
parent64ab3336d94b13e9692820de3ed5575a556c6d9d (diff)
downloadruby-806cc716daa6414e284b859d3e520dcb34133ffc.tar.gz
ruby-806cc716daa6414e284b859d3e520dcb34133ffc.tar.xz
ruby-806cc716daa6414e284b859d3e520dcb34133ffc.zip
* string.c (str_nth): need not to raise out-of-range exception.
* test/ruby/test_m17n.rb (TestM17N::test_str_aref_len): removed debug print. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_m17n.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index df0543018..cf9df11b8 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -695,7 +695,6 @@ class TestM17N < Test::Unit::TestCase
STRINGS.each {|s|
t = ''
0.step(s.length-1, 2) {|i|
- p [s,s.encoding,i]
t << s[i,2]
}
assert_equal(t, s)