-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve text fixture annotation removal regexp
Summary: We strip annotation lines from the output after applying a fix in tests. This is done using a regular expression to pick up the `%% ^^^^ error: blah` comment lines. Impriove this regex - make the presence of the lightbulb indicating an available assist optional - Deal more appropriately with annotations of the from `%%<^^ error: foo` Reviewed By: perehonchuk Differential Revision: D55966908 fbshipit-source-id: 32eca9f3479dd6c4fd48100c2306a11a8c4e81e2
- Loading branch information
1 parent
ca1a9b4
commit 110ce5f
Showing
3 changed files
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1943,7 +1943,6 @@ baz(1)->4. | |
baz()-> | ||
1. | ||
%%^^^^^^^ 💡 warning: match is redundant | ||
"#, | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters