G
Gunnar Gauslaa Bergem
Could anyone please explain what is going on here? Our test/unit scripts
suddenly stopped working properly when upgrading to 1.8.5 from 1.8.4.
Example script:
require 'test/unit'
class TestArgv < Test::Unit::TestCase
def test_argv
puts "test_argv: #{ARGV[0]}"
puts ARGV[0].nil?
end
end
Running on 1.8.4:
$ ruby -v
ruby 1.8.4 (2005-12-24) [i386-freebsd4]
$ ruby test_argv.rb randomarg
Loaded suite test_argv
Started
test_argv: randomarg
false
suddenly stopped working properly when upgrading to 1.8.5 from 1.8.4.
Example script:
require 'test/unit'
class TestArgv < Test::Unit::TestCase
def test_argv
puts "test_argv: #{ARGV[0]}"
puts ARGV[0].nil?
end
end
Running on 1.8.4:
$ ruby -v
ruby 1.8.4 (2005-12-24) [i386-freebsd4]
$ ruby test_argv.rb randomarg
Loaded suite test_argv
Started
test_argv: randomarg
false