isDisableStyleFix returns true if the fix title matches the disable-style pattern: "Disable ... for this line" or "Disable ... for entire file".
(title string)
| 15 | // isDisableStyleFix returns true if the fix title matches the disable-style pattern: |
| 16 | // "Disable ... for this line" or "Disable ... for entire file". |
| 17 | func isDisableStyleFix(title string) bool { |
| 18 | return strings.HasPrefix(title, "Disable ") && |
| 19 | (strings.HasSuffix(title, " for this line") || strings.HasSuffix(title, " for entire file")) |
| 20 | } |
| 21 | |
| 22 | // RunEffectQuickFixTest executes a single Effect quick-fix baseline test case. |
| 23 | // It creates a fourslash test instance, collects quick-fix inventory and application |
no outgoing calls
no test coverage detected