Add additional test
This commit is contained in:
parent
b490b5e35d
commit
a6bafbe9a5
@ -95,4 +95,5 @@ func TestContext_GlobalIsSet(t *testing.T) {
|
|||||||
expect(t, c.GlobalIsSet("bogusflag"), false)
|
expect(t, c.GlobalIsSet("bogusflag"), false)
|
||||||
expect(t, c.GlobalIsSet("myflagGlobal"), true)
|
expect(t, c.GlobalIsSet("myflagGlobal"), true)
|
||||||
expect(t, c.GlobalIsSet("myflagGlobalUnset"), false)
|
expect(t, c.GlobalIsSet("myflagGlobalUnset"), false)
|
||||||
|
expect(t, c.GlobalIsSet("bogusGlobal"), false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user