1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/envutil.rb: fix a typo in assert message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2009-12-16 11:29:54 +00:00
parent 6547a2bcbb
commit f4109ec1c7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Dec 16 20:28:46 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/envutil.rb: fix a typo in assert message.
Wed Dec 16 16:57:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/un.rb (httpd): try to convert port number to integer.

View file

@ -197,7 +197,7 @@ module Test
def assert_ruby_status(args, test_stdin="", message=nil, opt={})
stdout, stderr, status = EnvUtil.invoke_ruby(args, test_stdin, false, false, opt)
m = message ? "#{message} (#{status.inspect})" : "ruby exit stauts is not success: #{status.inspect}"
m = message ? "#{message} (#{status.inspect})" : "ruby exit status is not success: #{status.inspect}"
assert(status.success?, m)
end