(t *testing.T)
| 90 | ) |
| 91 | |
| 92 | func (c *EnvironmentConversionTestCase) Assert(t *testing.T) { |
| 93 | fetcher := MapFetcher(map[string][]string{ |
| 94 | c.Val: []string{c.Val}, |
| 95 | }) |
| 96 | |
| 97 | env := EnvironmentOf(fetcher) |
| 98 | got := c.GotFn(env, c.Val) |
| 99 | |
| 100 | if c.Expected != got { |
| 101 | t.Errorf("lfs/config: expected val=%q to be %q (got: %q)", c.Val, c.Expected, got) |
| 102 | } |
| 103 | } |
no test coverage detected