-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added function scope test to python (#2325)
## Checklist - [x] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [/] I have not broken the cheatsheet
- Loading branch information
1 parent
8b51d18
commit bccc6d8
Showing
13 changed files
with
69 additions
and
186 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
data/fixtures/recorded/languages/python/clearCoreFunk2.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
data/fixtures/recorded/languages/python/takeLambdaMade.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
lambda: pass | ||
--- | ||
|
||
[Content] = | ||
[Removal] = | ||
[Domain] = 0:0-0:12 | ||
>------------< | ||
0| lambda: pass | ||
|
||
[Interior] = 0:8-0:12 | ||
>----< | ||
0| lambda: pass | ||
|
||
[Insertion delimiter] = "\n" |
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 @@ | ||
lambda x: x | ||
--- | ||
|
||
[Content] = | ||
[Removal] = | ||
[Domain] = 0:0-0:11 | ||
>-----------< | ||
0| lambda x: x | ||
|
||
[Interior] = 0:10-0:11 | ||
>-< | ||
0| lambda x: x | ||
|
||
[Insertion delimiter] = "\n" |
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,17 @@ | ||
def foo(): | ||
pass | ||
--- | ||
|
||
[Content] = | ||
[Removal] = | ||
[Domain] = 0:0-1:8 | ||
>---------- | ||
0| def foo(): | ||
1| pass | ||
--------< | ||
|
||
[Interior] = 1:4-1:8 | ||
>----< | ||
1| pass | ||
|
||
[Insertion delimiter] = "\n\n" |
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,19 @@ | ||
@foo | ||
def bar(value: string) -> str: | ||
return value | ||
--- | ||
|
||
[Content] = | ||
[Removal] = | ||
[Domain] = 0:0-2:16 | ||
>---- | ||
0| @foo | ||
1| def bar(value: string) -> str: | ||
2| return value | ||
----------------< | ||
|
||
[Interior] = 2:4-2:16 | ||
>------------< | ||
2| return value | ||
|
||
[Insertion delimiter] = "\n\n" |
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