From 51d6be8d9281a150a883f789eebe251919549366 Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Sun, 23 Jan 2022 16:37:33 +0530 Subject: [PATCH] Edit exisiting tests to reflect new formatting change --- tests/data/expression.diff | 9 ++++++--- tests/data/expression.py | 4 ++-- tests/data/expression_skip_magic_trailing_comma.diff | 9 ++++++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/tests/data/expression.diff b/tests/data/expression.diff index 721a07d2141..ca03b80e41f 100644 --- a/tests/data/expression.diff +++ b/tests/data/expression.diff @@ -11,7 +11,7 @@ True False 1 -@@ -29,63 +29,96 @@ +@@ -29,91 +29,127 @@ ~great +value -1 @@ -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] diff --git a/tests/data/expression.py b/tests/data/expression.py index d13450cda68..deaebbb8c4d 100644 --- a/tests/data/expression.py +++ b/tests/data/expression.py @@ -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] diff --git a/tests/data/expression_skip_magic_trailing_comma.diff b/tests/data/expression_skip_magic_trailing_comma.diff index 4a8a95c7237..d1189fbaff5 100644 --- a/tests/data/expression_skip_magic_trailing_comma.diff +++ b/tests/data/expression_skip_magic_trailing_comma.diff @@ -11,7 +11,7 @@ True False 1 -@@ -29,63 +29,84 @@ +@@ -29,91 +29,110 @@ ~great +value -1 @@ -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]