From 2a57b71937e9c905d35f2af8f3360a277efcf20f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 19 Sep 2013 20:02:06 +0000 Subject: [PATCH] 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 --- test/ruby/test_lambda.rb | 4 ++-- 1 file 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