MCPcopy
hub / github.com/mislav/hub / equal

Function equal

utils/args_parser_test.go:9–14  ·  view source on GitHub ↗
(t *testing.T, expected, got interface{})

Source from the content-addressed store, hash-verified

7)
8
9func equal(t *testing.T, expected, got interface{}) {
10 t.Helper()
11 if !reflect.DeepEqual(expected, got) {
12 t.Errorf("expected: %#v, got: %#v", expected, got)
13 }
14}
15
16func TestArgsParser(t *testing.T) {
17 p := NewArgsParser()

Callers 13

TestArgsParserFunction · 0.85
TestArgsParser_BlankArgsFunction · 0.85
TestArgsParser_ValuesFunction · 0.85
TestArgsParser_BoolFunction · 0.85
TestArgsParser_BoolValueFunction · 0.85
TestArgsParser_ShorthandFunction · 0.85
TestArgsParser_DashesFunction · 0.85
TestArgsParser_IntFunction · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…