MCPcopy
hub / github.com/stretchr/testify / Test_Arguments_Bool

Function Test_Arguments_Bool

mock/mock_test.go:2077–2083  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2075}
2076
2077func Test_Arguments_Bool(t *testing.T) {
2078 t.Parallel()
2079
2080 var args = Arguments([]interface{}{"string", 123, true})
2081 assert.Equal(t, true, args.Bool(2))
2082
2083}
2084
2085func Test_WaitUntil_Parallel(t *testing.T) {
2086 t.Parallel()

Callers

nothing calls this directly

Calls 3

EqualFunction · 0.92
ArgumentsTypeAlias · 0.85
BoolMethod · 0.80

Tested by

no test coverage detected