Skip to content

Commit

Permalink
Revert "Remove unneeded whitespaces in README"
Browse files Browse the repository at this point in the history
This reverts commit 3ed9b91.
  • Loading branch information
axross committed Nov 16, 2015
1 parent 77a2bbb commit 35c6c08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ var test = require('tape');

test('timing test', function (t) {
t.plan(2);

t.equal(typeof Date.now, 'function');
var start = Date.now();

setTimeout(function () {
t.equal(Date.now() - start, 100);
}, 100);
Expand Down Expand Up @@ -116,13 +116,13 @@ var test = require('tape')

## test([name], [opts], cb)

Create a new test with an optional `name` string and optional `opts` object.
Create a new test with an optional `name` string and optional `opts` object.
`cb(t)` fires with the new test object `t` once all preceeding tests have
finished. Tests execute serially.

Available `opts` options are:
- opts.skip = true/false. See test.skip.
- opts.timeout = 500. Set a timeout for the test, after which it will fail.
- opts.timeout = 500. Set a timeout for the test, after which it will fail.
See test.timeoutAfter.

If you forget to `t.plan()` out how many assertions you are going to run and you
Expand Down Expand Up @@ -156,7 +156,7 @@ Generate a passing assertion with a message `msg`.
Automatically timeout the test after X ms.

## t.skip(msg)

Generate an assertion that will be skipped over.

## t.ok(value, msg)
Expand Down

0 comments on commit 35c6c08

Please sign in to comment.