Skip to content

Commit

Permalink
Edit exisiting tests to reflect new formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivansh-007 committed Jan 23, 2022
1 parent 5ee6627 commit 51d6be8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
9 changes: 6 additions & 3 deletions tests/data/expression.diff
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
True
False
1
@@ -29,63 +29,96 @@
@@ -29,91 +29,127 @@
~great
+value
-1
Expand Down Expand Up @@ -130,8 +130,11 @@
call(**self.screen_kwargs)
call(b, **self.screen_kwargs)
lukasz.langa.pl
@@ -94,26 +127,29 @@
1.0 .real
call.me(maybe)
-1 .real
-1.0 .real
+(1).real
+(1.0).real
....__class__
list[str]
dict[str, int]
Expand Down
4 changes: 2 additions & 2 deletions tests/data/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ async def f():
call(b, **self.screen_kwargs)
lukasz.langa.pl
call.me(maybe)
1 .real
1.0 .real
(1).real
(1.0).real
....__class__
list[str]
dict[str, int]
Expand Down
9 changes: 6 additions & 3 deletions tests/data/expression_skip_magic_trailing_comma.diff
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
True
False
1
@@ -29,63 +29,84 @@
@@ -29,91 +29,110 @@
~great
+value
-1
Expand Down Expand Up @@ -118,8 +118,11 @@
call(**self.screen_kwargs)
call(b, **self.screen_kwargs)
lukasz.langa.pl
@@ -94,26 +115,24 @@
1.0 .real
call.me(maybe)
-1 .real
-1.0 .real
+(1).real
+(1.0).real
....__class__
list[str]
dict[str, int]
Expand Down

0 comments on commit 51d6be8

Please sign in to comment.