Skip to content

Commit a39a5d7

Browse files
committed
Cover failing tests
The previous test suite only included passing tests. We want to cover failing tests too.
1 parent c4add1a commit a39a5d7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

util/tap/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TESTS = auto check known writer
1+
TESTS = auto check known failing writer
22
GOPATH = $(CURDIR)/gopath
33

44
.PHONY: $(TESTS)

util/tap/test/failing/main.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package main
2+
3+
import "github.com/mndrix/tap-go"
4+
5+
func main() {
6+
t := tap.New()
7+
t.Header(1)
8+
t.Ok(false, "first test")
9+
}

0 commit comments

Comments
 (0)