diff --git a/ruby/t/tc_800_rhbz507346.rb b/ruby/t/tc_800_rhbz507346.rb index b97681b50..89668d741 100644 --- a/ruby/t/tc_800_rhbz507346.rb +++ b/ruby/t/tc_800_rhbz507346.rb @@ -20,12 +20,10 @@ require File::join(File::dirname(__FILE__), 'test_helper') class Test800RHBZ507346 < MiniTest::Unit::TestCase def test_800_rhbz507346 g = Guestfs::Guestfs.new() - g.add_drive_scratch(10*1024*1024) - g.launch() - exception = assert_raises TypeError do - g.command(1) + g.parse_environment_list(1) end - assert_match /wrong argument type Fixnum \(expected Array\)/, exception.message + assert_match(/wrong argument type .* \(expected Array\)/, + exception.message) end end