[Pkg-javascript-commits] [node-parents] 13/29: fix the network drive test to use \\s properly

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 20 13:47:04 UTC 2017


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

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

commit 7f9a0a81bd15eee416b1a1feb9beec21c4aaa3a9
Author: James Halliday <mail at substack.net>
Date:   Mon Dec 2 09:40:32 2013 -0800

    fix the network drive test to use \\s properly
---
 test/win32.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/win32.js b/test/win32.js
index 48e0d4e..7492088 100644
--- a/test/win32.js
+++ b/test/win32.js
@@ -21,10 +21,13 @@ test('win32 c:', function (t) {
 });
 
 test('win32 network drive', function (t) {
-    var dirs = parents('\\storageserver01\Active Projects\ProjectA', { platform : 'win32' });
+    var dirs = parents(
+        '\\storageserver01\\Active Projects\\ProjectA',
+        { platform : 'win32' }
+    );
     t.same(dirs, [
-        '\\storageserver01\Active Projects\ProjectA',
-        '\\storageserver01\Active Projects',
+        '\\storageserver01\\Active Projects\\ProjectA',
+        '\\storageserver01\\Active Projects',
         '\\storageserver01'
     ]);
     t.end();

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



More information about the Pkg-javascript-commits mailing list