From 24ac5b04f47b02e8a0e0f9e38a6383d71d68f7b1 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Mon, 14 Jan 2013 07:17:47 +0200 Subject: [PATCH] Remove redundant call to Shellwords.escape The "edit" command already intelligently escapes arguments, if need. This commit also fixes four failing tests on Windows. --- spec/commands/edit_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/commands/edit_spec.rb b/spec/commands/edit_spec.rb index beeaf9b3..38bd8f53 100644 --- a/spec/commands/edit_spec.rb +++ b/spec/commands/edit_spec.rb @@ -387,7 +387,7 @@ describe "edit" do @tempfile.flush load @tempfile.path - @tempfile_path = Shellwords.escape(@tempfile.path) + @tempfile_path = @tempfile.path end after do