net-ssh / net-scp

Pure Ruby implementation of the SCP protocol
http://github.com/delano/net-scp
MIT License
152 stars 62 forks source link

Fix test failure under ruby2.7 #51

Closed terceiro closed 4 years ago

terceiro commented 4 years ago

In ruby2.7 + is no longer escaped ShellWords.shellescape. In order to make this test pass on ruby2.7 but also on older versions, drop the + the string that is expected to be escaped.

Fixes #50