Added some tests
This commit is contained in:
17
tests/node_modules/tap-spec/test/fixtures/not-ok.txt
generated
vendored
Normal file
17
tests/node_modules/tap-spec/test/fixtures/not-ok.txt
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
TAP version 13
|
||||
# THIS IS A SUITE
|
||||
# test 1
|
||||
ok 1 this test should pass
|
||||
# test 2
|
||||
not ok 2 this test should fail
|
||||
---
|
||||
operator: ok
|
||||
expected: true
|
||||
actual: false
|
||||
at: Test.<anonymous> (/Users/khanh.nguyen/tap-spec/test.js:13:15)
|
||||
...
|
||||
|
||||
1..2
|
||||
# tests 2
|
||||
# pass 1
|
||||
# fail 1
|
||||
13
tests/node_modules/tap-spec/test/fixtures/ok.txt
generated
vendored
Normal file
13
tests/node_modules/tap-spec/test/fixtures/ok.txt
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
TAP version 13
|
||||
# beep
|
||||
ok 1 should be equal
|
||||
ok 2 should be equivalent
|
||||
# boop
|
||||
ok 3 should be equal
|
||||
ok 4 (unnamed assert)
|
||||
|
||||
1..4
|
||||
# tests 4
|
||||
# pass 4
|
||||
|
||||
# ok
|
||||
Reference in New Issue
Block a user