diff options
Diffstat (limited to 'test/integration/test_proxy.rb')
-rw-r--r-- | test/integration/test_proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test_proxy.rb b/test/integration/test_proxy.rb index 89a0ee1..f1419f8 100644 --- a/test/integration/test_proxy.rb +++ b/test/integration/test_proxy.rb @@ -99,7 +99,7 @@ class TestProxy < NetSSHTest ok = Net::SSH.start(*ssh_start_params(proxy: proxy)) do |ssh| with_spurious_write_wakeup_emulate do ret = ssh.exec! "echo \"$USER:#{large_msg}\"" - assert_match /\/bin\/.*sh: Argument list too long\n/, ret + assert_match(%r{/bin/.*sh: Argument list too long\n}, ret) hello_count = 1000 ret = ssh.exec! "ruby -e 'puts \"Hello\"*#{hello_count}'" assert_equal "Hello" * hello_count + "\n", ret |