From d55b767039605256c736166a942a9138e3eacfd7 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 29 Jun 2025 11:49:28 -0700 Subject: remove dev node_modules (oops) --- node_modules/spawn-command/test/fixtures/commit | 9 -------- .../spawn-command/test/spawn-command-test.js | 26 ---------------------- 2 files changed, 35 deletions(-) delete mode 100644 node_modules/spawn-command/test/fixtures/commit delete mode 100644 node_modules/spawn-command/test/spawn-command-test.js (limited to 'node_modules/spawn-command/test') diff --git a/node_modules/spawn-command/test/fixtures/commit b/node_modules/spawn-command/test/fixtures/commit deleted file mode 100644 index a149be1..0000000 --- a/node_modules/spawn-command/test/fixtures/commit +++ /dev/null @@ -1,9 +0,0 @@ -commit 26b11915b1c16440468a4b5f4b07d2409b98c68c -Author: Bert Belder -Date: Wed Jun 20 01:07:57 2012 +0200 - - test-domain: fix the test to work on Windows - - On Windows, full pathnames are stored in the Error object when - a file i/o error happens. This is not the case on Unix. Before - this fix the test would break because of these full paths. diff --git a/node_modules/spawn-command/test/spawn-command-test.js b/node_modules/spawn-command/test/spawn-command-test.js deleted file mode 100644 index f74739a..0000000 --- a/node_modules/spawn-command/test/spawn-command-test.js +++ /dev/null @@ -1,26 +0,0 @@ -var path = require('path'), - assert = require('assert'), - assertCalled = require('assert-called'), - spawnCommand = require('../'); - -var win32 = (process.platform === 'win32'), - newln = win32 ? '\r\n' : '\n', - grep = win32 ? 'findstr' : 'grep', - child = spawnCommand(grep + ' commit < ' + path.join(__dirname, 'fixtures', 'commit')), - stderr = '', - stdout = '', - exited = false; - -child.stdout.on('data', function (chunk) { - stdout += chunk; -}); - -child.stderr.on('data', function (chunk) { - stderr += chunk; -}); - -child.on('exit', assertCalled(function (exitCode) { - assert.equal(exitCode, 0); - assert.equal(stdout, 'commit 26b11915b1c16440468a4b5f4b07d2409b98c68c' + newln); - assert.equal(stderr, ''); -})); -- cgit v1.2.3