(t *testing.T)
| 12 | } |
| 13 | |
| 14 | func (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 | |
| 23 | func TestShellQuote(t *testing.T) { |
| 24 | for desc, c := range map[string]ShellQuoteTestCase{ |
nothing calls this directly
no test coverage detected