Skip to content

Commit

Permalink
Remove test subdirectory.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed May 27, 2016
1 parent c8d7635 commit 8e2ea06
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion t/cover
Expand Up @@ -13,7 +13,7 @@ for file in $(find t -name \*.t.js); do
fi
done

node_modules/.bin/istanbul cover -x 't/**' t/arguable/fixtures/echo-1.js > /dev/null 2>&1
node_modules/.bin/istanbul cover -x 't/**' t/fixtures/echo-1.js > /dev/null 2>&1

node_modules/.bin/istanbul report --root coverage --dir coverage > /dev/null

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion t/arguable/exit.t.js → t/exit.t.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

require('proof')(9, function (assert) {
var exit = require('../../exit'),
var exit = require('../exit'),
events = require('events'),
stream = require('stream'),
interrupt = require('interrupt').createInterrupter('bigeasy.arguable')
Expand Down
2 changes: 1 addition & 1 deletion t/arguable/fixtures/echo-1.js → t/fixtures/echo-1.js
Expand Up @@ -6,7 +6,7 @@
___ . ___
*/

require('../../..')(module, function (options, callback) {
require('../..')(module, function (options, callback) {
if (options.argv.length) {
var separator = ''
options.argv.forEach(function (arg) {
Expand Down
2 changes: 1 addition & 1 deletion t/arguable/fixtures/echo-2.js → t/fixtures/echo-2.js
Expand Up @@ -6,7 +6,7 @@
___ . ___
*/

require('../../..')(module, module.filename, function (options, callback) {
require('../..')(module, module.filename, function (options, callback) {
if (options.argv.length) {
var separator = ''
options.argv.forEach(function (arg) {
Expand Down
2 changes: 1 addition & 1 deletion t/arguable/fixtures/send.js → t/fixtures/send.js
Expand Up @@ -6,7 +6,7 @@
___ . ___
*/

require('../../..')(module, function (options, callback) {
require('../..')(module, function (options, callback) {
options.send({ key: 'value' })
callback()
})
2 changes: 1 addition & 1 deletion t/arguable/getopt.t.js → t/getopt.t.js
Expand Up @@ -9,7 +9,7 @@ require('proof')(18, function (assert) {
{ terse: 'c', verbose: 'config', arguable: true },
{ verbose: 'help', arguable: false }
]
var getopt = require('../../getopt'), params
var getopt = require('../getopt'), params
var given = getopt(pattern, [ '-N', 'steve']).given
assert(given, [ 'name' ], 'string given')
var params = getopt(pattern, [ '-N', 'steve']).params
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion t/arguable/program.t.js → t/program.t.js
Expand Up @@ -24,7 +24,7 @@ function prove (async, assert) {
' -c, --config <key=value>\n' +
' --longonly\n' +
''
var createProgram = require('../../program.js'), io
var createProgram = require('../program.js'), io
createProgram(path.join(__dirname, 'endless.js'), {}, [], {}, cadence(function (async, program) {
}), function (error, code) {
assert(error.message, 'no usage found', 'no usage found')
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion t/test
Expand Up @@ -4,7 +4,9 @@ set -e

echo ""

(proof run t/*/*.t.js | tee .proof.out | proof progress) || (proof errors < .proof.out) || exit 1
(proof run t/*.t.js | tee .proof.out | proof progress) \
|| (proof errors < .proof.out) \
|| exit 1

if [ "$TRAVIS" = "true" ]; then
echo ""
Expand Down
2 changes: 1 addition & 1 deletion t/arguable/usage.t.js → t/usage.t.js
Expand Up @@ -14,7 +14,7 @@ require('proof')(4, prove)
function prove (assert) {
var fs = require('fs'),
path = require('path'),
extractUsage = require('../../usage'),
extractUsage = require('../usage'),
message = 'usage: basic [options] [files]\n' +
' -c, --config <key=value>\n' +
' --longonly\n' +
Expand Down

0 comments on commit 8e2ea06

Please sign in to comment.