include output in examples

g-counter
Jordan Orelli 4 years ago
parent 989bb7746d
commit e4c2ecd0e9

@ -0,0 +1,8 @@
.
1 total assertion
..
3 total assertions
PASS
ok github.com/jordanorelli/tea/examples/incr 0.002s

@ -0,0 +1,5 @@
#!/usr/bin/env bash
go test 2>&1 | tee tea.output
go test -tags std 2>&1 | tee std.output
go test -tags convey 2>&1 | tee convey.output

@ -0,0 +1,6 @@
--- FAIL: TestTwice (0.00s)
--- FAIL: TestTwice/increment#01 (0.00s)
std_test.go:34: expected x to be 2, is 3 instead
FAIL
exit status 1
FAIL github.com/jordanorelli/tea/examples/incr 0.001s

@ -0,0 +1,2 @@
PASS
ok github.com/jordanorelli/tea/examples/incr 0.001s
Loading…
Cancel
Save