failing test

main
Lynn Cyrin 4 years ago
parent 49db826a05
commit b44b656820
No known key found for this signature in database
GPG Key ID: 9E60BEE0555C367B

@ -293,6 +293,13 @@ func TestContext_Lineage(t *testing.T) {
expect(t, lineage[1], parentCtx)
}
func TestContext_BackgroundContextAttributeAccessing(t *testing.T) {
parentContext := context.Background()
ctx := NewContext(nil, nil, &Context{Context: parentContext})
value := ctx.Bool("some-bool")
expect(t, value, false)
}
func TestContext_lookupFlagSet(t *testing.T) {
set := flag.NewFlagSet("test", 0)
set.Bool("local-flag", false, "doc")

Loading…
Cancel
Save