diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-19 20:02:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-19 20:02:06 +0000 |
commit | 2a57b71937e9c905d35f2af8f3360a277efcf20f (patch) | |
tree | c085d871bd81540059e1d7825743f3d02c689303 /test | |
parent | 5cda4e90714fedc78abb0426c2ab932bf113fb2d (diff) | |
download | ruby-2a57b71937e9c905d35f2af8f3360a277efcf20f.tar.gz |
test_lambda.rb: fix messages
* test/ruby/test_lambda.rb (test_{do,brace}_lambda_source_location):
fix messages, missed to commit at r42980.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_lambda.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_lambda.rb b/test/ruby/test_lambda.rb index 6023c3fcc8..24efa71bc1 100644 --- a/test/ruby/test_lambda.rb +++ b/test/ruby/test_lambda.rb @@ -119,7 +119,7 @@ class TestLambdaParameters < Test::Unit::TestCase end file, lineno = lmd.source_location assert_match(/^#{ Regexp.quote(__FILE__) }$/, file) - assert_equal(exp_lineno, lineno, "must be ") + assert_equal(exp_lineno, lineno, "must be at the beginning of the block") end def test_brace_lambda_source_location @@ -131,6 +131,6 @@ class TestLambdaParameters < Test::Unit::TestCase } file, lineno = lmd.source_location assert_match(/^#{ Regexp.quote(__FILE__) }$/, file) - assert_equal(exp_lineno, lineno, "must be ") + assert_equal(exp_lineno, lineno, "must be at the beginning of the block") end end |