[Pkg-javascript-commits] [node-parents] 12/29: test for network drive

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 0c792f6c9e2d08bdcba06ce037c8e61d077e2ce7
Author: Edgar Simson <simsons.edgars at gmail.com>
Date:   Mon Dec 2 18:55:01 2013 +0200

    test for network drive
---
 test/win32.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test/win32.js b/test/win32.js
index 9fd5b34..48e0d4e 100644
--- a/test/win32.js
+++ b/test/win32.js
@@ -19,3 +19,13 @@ test('win32 c:', function (t) {
     t.same(dirs, [ 'C:' ]);
     t.end();
 });
+
+test('win32 network drive', function (t) {
+    var dirs = parents('\\storageserver01\Active Projects\ProjectA', { platform : 'win32' });
+    t.same(dirs, [
+        '\\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