sync examples

g-counter
Jordan Orelli 4 years ago
parent a3346f59cc
commit 9924617e55

@ -3,6 +3,6 @@ module github.com/jordanorelli/tea/examples
go 1.14 go 1.14
require ( require (
github.com/jordanorelli/tea v0.0.5-0.20200730012141-ef32839cd424 github.com/jordanorelli/tea v0.0.5-0.20200731133129-a3346f59ccfc
github.com/smartystreets/goconvey v1.6.4 github.com/smartystreets/goconvey v1.6.4
) )

@ -3,6 +3,8 @@ github.com/jordanorelli/tea v0.0.3 h1:6FNc5NE3O+2RDgK9nq3x8hZ0b5w5bFcz94VG67jbRb
github.com/jordanorelli/tea v0.0.3/go.mod h1:mnnRKfuTTk8d+3rcOC6TIiBOLVG8RQitOtFtCfQo8Bw= github.com/jordanorelli/tea v0.0.3/go.mod h1:mnnRKfuTTk8d+3rcOC6TIiBOLVG8RQitOtFtCfQo8Bw=
github.com/jordanorelli/tea v0.0.5-0.20200730012141-ef32839cd424 h1:8ZD+nW5GiHLU0vs/uLzvklxZNwRvHgCQSEMDnv4yLWY= github.com/jordanorelli/tea v0.0.5-0.20200730012141-ef32839cd424 h1:8ZD+nW5GiHLU0vs/uLzvklxZNwRvHgCQSEMDnv4yLWY=
github.com/jordanorelli/tea v0.0.5-0.20200730012141-ef32839cd424/go.mod h1:mnnRKfuTTk8d+3rcOC6TIiBOLVG8RQitOtFtCfQo8Bw= github.com/jordanorelli/tea v0.0.5-0.20200730012141-ef32839cd424/go.mod h1:mnnRKfuTTk8d+3rcOC6TIiBOLVG8RQitOtFtCfQo8Bw=
github.com/jordanorelli/tea v0.0.5-0.20200731133129-a3346f59ccfc h1:MJggH/ygkyo1NRQz+74YR9qB1ACdHphs/TMsUYedISY=
github.com/jordanorelli/tea v0.0.5-0.20200731133129-a3346f59ccfc/go.mod h1:mnnRKfuTTk8d+3rcOC6TIiBOLVG8RQitOtFtCfQo8Bw=
github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=

@ -21,4 +21,4 @@
--- PASS: TestTwice (0.00s) --- PASS: TestTwice (0.00s)
PASS PASS
ok github.com/jordanorelli/tea/examples/incr 0.003s ok github.com/jordanorelli/tea/examples/incr 0.002s

@ -11,4 +11,4 @@
--- FAIL: TestTwice/increment#01 (0.00s) --- FAIL: TestTwice/increment#01 (0.00s)
FAIL FAIL
exit status 1 exit status 1
FAIL github.com/jordanorelli/tea/examples/incr 0.001s FAIL github.com/jordanorelli/tea/examples/incr 0.002s

@ -3,8 +3,8 @@
TestOnce/testInt: tea_test.go:20: saving to future tests X = 1 TestOnce/testInt: tea_test.go:20: saving to future tests X = 1
=== RUN TestOnce/testInt/testIncr === RUN TestOnce/testInt/testIncr
TestOnce/testInt/testIncr: tea_test.go:20: saving to future tests X = 1 TestOnce/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
TestOnce/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1 TestOnce/testInt/testIncr: tea_test.go:34: loaded from parent tests X = 1
TestOnce/testInt/testIncr: tea_test.go:38: saving to future tests X = 2 TestOnce/testInt/testIncr: tea_test.go:39: saving to future tests X = 2
--- PASS: TestOnce (0.00s) --- PASS: TestOnce (0.00s)
--- PASS: TestOnce/testInt (0.00s) --- PASS: TestOnce/testInt (0.00s)
--- PASS: TestOnce/testInt/testIncr (0.00s) --- PASS: TestOnce/testInt/testIncr (0.00s)
@ -13,12 +13,12 @@
TestTwice/testInt: tea_test.go:20: saving to future tests X = 1 TestTwice/testInt: tea_test.go:20: saving to future tests X = 1
=== RUN TestTwice/testInt/testIncr === RUN TestTwice/testInt/testIncr
TestTwice/testInt/testIncr: tea_test.go:20: saving to future tests X = 1 TestTwice/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
TestTwice/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1 TestTwice/testInt/testIncr: tea_test.go:34: loaded from parent tests X = 1
TestTwice/testInt/testIncr: tea_test.go:38: saving to future tests X = 2 TestTwice/testInt/testIncr: tea_test.go:39: saving to future tests X = 2
=== RUN TestTwice/testInt/testIncr#01 === RUN TestTwice/testInt/testIncr#01
TestTwice/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1 TestTwice/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1
TestTwice/testInt/testIncr#01: tea_test.go:33: loaded from parent tests X = 1 TestTwice/testInt/testIncr#01: tea_test.go:34: loaded from parent tests X = 1
TestTwice/testInt/testIncr#01: tea_test.go:38: saving to future tests X = 2 TestTwice/testInt/testIncr#01: tea_test.go:39: saving to future tests X = 2
--- PASS: TestTwice (0.00s) --- PASS: TestTwice (0.00s)
--- PASS: TestTwice/testInt (0.00s) --- PASS: TestTwice/testInt (0.00s)
--- PASS: TestTwice/testInt/testIncr (0.00s) --- PASS: TestTwice/testInt/testIncr (0.00s)
@ -28,18 +28,18 @@
TestTwiceSeries/testInt: tea_test.go:20: saving to future tests X = 1 TestTwiceSeries/testInt: tea_test.go:20: saving to future tests X = 1
=== RUN TestTwiceSeries/testInt/testIncr === RUN TestTwiceSeries/testInt/testIncr
TestTwiceSeries/testInt/testIncr: tea_test.go:20: saving to future tests X = 1 TestTwiceSeries/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
TestTwiceSeries/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1 TestTwiceSeries/testInt/testIncr: tea_test.go:34: loaded from parent tests X = 1
TestTwiceSeries/testInt/testIncr: tea_test.go:38: saving to future tests X = 2 TestTwiceSeries/testInt/testIncr: tea_test.go:39: saving to future tests X = 2
=== RUN TestTwiceSeries/testInt/testIncr/testIncr === RUN TestTwiceSeries/testInt/testIncr/testIncr
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:20: saving to future tests X = 1 TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:20: saving to future tests X = 1
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:33: loaded from parent tests X = 1 TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:34: loaded from parent tests X = 1
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:38: saving to future tests X = 2 TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:39: saving to future tests X = 2
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:33: loaded from parent tests X = 2 TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:34: loaded from parent tests X = 2
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:38: saving to future tests X = 3 TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:39: saving to future tests X = 3
=== RUN TestTwiceSeries/testInt/testIncr#01 === RUN TestTwiceSeries/testInt/testIncr#01
TestTwiceSeries/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1 TestTwiceSeries/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1
TestTwiceSeries/testInt/testIncr#01: tea_test.go:33: loaded from parent tests X = 1 TestTwiceSeries/testInt/testIncr#01: tea_test.go:34: loaded from parent tests X = 1
TestTwiceSeries/testInt/testIncr#01: tea_test.go:38: saving to future tests X = 2 TestTwiceSeries/testInt/testIncr#01: tea_test.go:39: saving to future tests X = 2
--- PASS: TestTwiceSeries (0.00s) --- PASS: TestTwiceSeries (0.00s)
--- PASS: TestTwiceSeries/testInt (0.00s) --- PASS: TestTwiceSeries/testInt (0.00s)
--- PASS: TestTwiceSeries/testInt/testIncr (0.00s) --- PASS: TestTwiceSeries/testInt/testIncr (0.00s)

Loading…
Cancel
Save