MCPcopy Index your code
hub / github.com/coder/coder / compareArgs

Function compareArgs

coderd/database/gentest/modelqueries_test.go:109–111  ·  view source on GitHub ↗
(t *testing.T, argType string, aName, bName string, a, b []ast.Expr)

Source from the content-addressed store, hash-verified

107}
108
109func compareArgs(t *testing.T, argType string, aName, bName string, a, b []ast.Expr) bool {
110 return assert.Equal(t, argList(t, a), argList(t, b), "mismatched %s for %s and %s", argType, aName, bName)
111}
112
113func argList(t *testing.T, args []ast.Expr) []string {
114 defer func() {

Callers 1

compareFnsFunction · 0.85

Calls 2

argListFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected