-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(apply): add
apply_to_path_with_invalid_lang()
see #485
- Loading branch information
1 parent
8763951
commit 7b567e0
Showing
2 changed files
with
42 additions
and
0 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
14 changes: 14 additions & 0 deletions
14
crates/cli_bin/tests/snapshots/apply__apply_to_path_with_invalid_lang.snap
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
source: crates/cli_bin/tests/apply.rs | ||
expression: stdout | ||
--- | ||
file4.js.py: ERROR (code: 300) - Error parsing source code at 1:7 in file4.js.py. This may cause otherwise applicable queries to not match. | ||
file4.js.py | ||
-const mine = (object) => { | ||
- return String(object) + 'is mine'; | ||
+const mine = () => { | ||
+ return String() + 'is mine'; | ||
}; | ||
|
||
|
||
Processed 1 files and found 2 matches |