[Pkg-javascript-commits] [node-shell-quote] 91/137: Fix test case for backslash in double quotes

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-shell-quote.

commit 89bc5500711643e87fe93dd1bde0e8745c34d733
Author: Stephen Sugden <me at stephensugden.com>
Date:   Thu Oct 17 17:47:13 2013 -0700

    Fix test case for backslash in double quotes
---
 test/op.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/op.js b/test/op.js
index 2327978..3cedf9f 100644
--- a/test/op.js
+++ b/test/op.js
@@ -10,7 +10,7 @@ test('single operators', function (t) {
     t.same(parse('echo zing &'), [ 'echo', 'zing', { op: '&' } ]);
     t.same(parse('echo zing&'), [ 'echo', 'zing', { op: '&' } ]);
     t.same(parse('echo zing\\&'), [ 'echo', 'zing&' ]);
-    t.same(parse('echo "zing\\&"'), [ 'echo', 'zing&' ]);
+    t.same(parse('echo "zing\\&"'), [ 'echo', 'zing\\&' ]);
     
     t.same(parse('beep;boop'), [ 'beep', { op: ';' }, 'boop' ]);
     t.same(parse('(beep;boop)'), [

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-shell-quote.git



More information about the Pkg-javascript-commits mailing list