提交 40a83d74 编写于 作者: Y Yves Senn

typo fix in test name. [ci skip].

上级 e37f1644
......@@ -287,7 +287,7 @@ class StringAccessTest < ActiveSupport::TestCase
assert_equal 'x', 'x'.first
end
test "#first with Fixnum, returns a substrung from the beginning to position" do
test "#first with Fixnum, returns a substring from the beginning to position" do
assert_equal "he", "hello".first(2)
assert_equal "", "hello".first(0)
assert_equal "hello", "hello".first(10)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册