(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestGetGrepToolRemovalCodemod(t *testing.T) { |
| 13 | codemod := getGrepToolRemovalCodemod() |
| 14 | |
| 15 | // Verify codemod metadata |
| 16 | assert.Equal(t, "grep-tool-removal", codemod.ID, "Codemod ID should match") |
| 17 | assert.Equal(t, "Remove deprecated tools.grep field", codemod.Name, "Codemod name should match") |
| 18 | assert.NotEmpty(t, codemod.Description, "Codemod should have a description") |
| 19 | assert.Equal(t, "0.7.0", codemod.IntroducedIn, "Codemod version should match") |
| 20 | require.NotNil(t, codemod.Apply, "Codemod should have an Apply function") |
| 21 | } |
| 22 | |
| 23 | func TestGrepToolRemovalCodemod_BasicRemoval(t *testing.T) { |
| 24 | codemod := getGrepToolRemovalCodemod() |
nothing calls this directly
no test coverage detected