summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorRyan Scott <[email protected]>2013-07-21 18:18:35 +1000
committerRyan Scott <[email protected]>2013-07-21 18:18:35 +1000
commitfd9cc9938cb5998c2388431c396afe238462c9e2 (patch)
tree0bf823a60f3922b3c92c94e2f79c0bbb31084e06 /test
parent43c0f43f1355c1d421b36f5ede7bb5c3aa6b6dd8 (diff)
parentbc843ed9272d9733cafea7df130134264d15d6d9 (diff)
downloadmruby-fd9cc9938cb5998c2388431c396afe238462c9e2.tar.gz
mruby-fd9cc9938cb5998c2388431c396afe238462c9e2.zip
Merge branch 'master' into attr-perf-fix
Diffstat (limited to 'test')
-rw-r--r--test/t/string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index ddae92d4a..c208835b4 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -399,12 +399,12 @@ end
assert('String#to_i', '15.2.10.5.38') do
a = ''.to_i
- b = '123456789'.to_i
+ b = '32143'.to_i
c = 'a'.to_i(16)
d = '100'.to_i(2)
assert_equal a, 0
- assert_equal b, 123456789
+ assert_equal b, 32143
assert_equal c, 10
assert_equal d, 4
end