MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / Assert

Method Assert

subprocess/subprocess_test.go:14–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

12}
13
14func (c *ShellQuoteTestCase) Assert(t *testing.T) {
15 actual := ShellQuote(c.Given)
16
17 assert.Equal(t, c.Expected, actual,
18 "subprocess: expected ShellQuote(%q) to equal %#v (was %#v)",
19 c.Given, c.Expected, actual,
20 )
21}
22
23func TestShellQuote(t *testing.T) {
24 for desc, c := range map[string]ShellQuoteTestCase{

Callers

nothing calls this directly

Calls 2

ShellQuoteFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected