wire
wire copied to clipboard
all: travis test is failing
--- FAIL: TestWire (309.01s)
--- FAIL: TestWire/FieldsOfCycle (13.81s)
wire_test.go:110: /tmp/wire_test290307528/src/example.com/foo/wire.go:24:42: FieldsOf not declared by package wire
wire_test.go:123: Errors didn't match expected errors from wire_errors.txt:
{[]string}[0]:
-: "example.com/foo/wire.go:x:y: FieldsOf not declared by package wire"
+: "example.com/foo/wire.go:x:y: cycle for example.com/foo.Bar:\nexample.com/foo.Bar (example.com/foo.provideBar) ->\nexample.com/foo.Foo (example.com/foo.provideFoo) ->\nexample.com/foo.Baz (example.com/foo.Bar.Bz) ->\nexample.com/foo.Bar"
FAIL
https://travis-ci.com/google/wire/jobs/199342330
It looks like Travis is using another version of wire
library to run the tests? I can't reproduce it locally.
I think this is related https://travis-ci.community/t/issue-pr-build-using-wrong-commit-entirely-migrated-from-github/1153
Reopen to track.