(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestSanitize(t *testing.T) { |
| 100 | t.Parallel() |
| 101 | |
| 102 | var tests = []struct { //nolint:gofumpt |
| 103 | Input string |
| 104 | Expected string |
| 105 | }{ |
| 106 | {"", ""}, |
| 107 | {"HELLO-WORLD", "hello-world"}, |
| 108 | } |
| 109 | |
| 110 | for _, test := range tests { |
| 111 | output := sanitize(test.Input) |
| 112 | assert.Equal(t, test.Expected, output) |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | func TestRunCommand(t *testing.T) { |
| 117 | t.Skip("not implemented") |
nothing calls this directly
no test coverage detected