diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
| commit | d55b767039605256c736166a942a9138e3eacfd7 (patch) | |
| tree | 947063b634c50d438a794325f13275e134aa5993 /node_modules/spawn-command/test/spawn-command-test.js | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/spawn-command/test/spawn-command-test.js')
| -rw-r--r-- | node_modules/spawn-command/test/spawn-command-test.js | 26 |
1 files changed, 0 insertions, 26 deletions
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, ''); -})); |
