X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80500748a7b4246e2381ddce869a09a215a591ae..ffa676cd7d332e9fa5808d824f5a31f03ab9a5d0:/tests/data/expression.diff diff --git a/tests/data/expression.diff b/tests/data/expression.diff index b26d931..c3ee14d 100644 --- a/tests/data/expression.diff +++ b/tests/data/expression.diff @@ -11,13 +11,15 @@ True False 1 -@@ -29,62 +29,83 @@ +@@ -29,63 +29,84 @@ ~great +value -1 ~int and not v1 ^ 123 + v2 | True (~int) and (not ((v1 ^ (123 + v2)) | True)) +-+really ** -confusing ** ~operator ** -precedence -flags & ~ select.EPOLLIN and waiters.write_task is not None +++(really ** -(confusing ** ~(operator ** -precedence))) +flags & ~select.EPOLLIN and waiters.write_task is not None lambda arg: None lambda a=True: a @@ -116,7 +118,7 @@ call(**self.screen_kwargs) call(b, **self.screen_kwargs) lukasz.langa.pl -@@ -93,23 +114,25 @@ +@@ -94,23 +115,25 @@ 1.0 .real ....__class__ list[str] @@ -147,7 +149,7 @@ slice[0:1:2] slice[:] slice[:-1] -@@ -133,111 +156,169 @@ +@@ -134,113 +157,171 @@ numpy[-(c + 1) :, d] numpy[:, l[-2]] numpy[:, ::-1] @@ -158,7 +160,8 @@ +{"2.7": dead, "3.7": long_live or die_hard} +{"2.7", "3.6", "3.7", "3.8", "3.9", "4.0" if gilectomy else "3.10"} [1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or A, 11 or B, 12 or C] - (SomeName) +-(SomeName) ++SomeName SomeName (Good, Bad, Ugly) (i for i in (1, 2, 3)) @@ -214,9 +217,14 @@ + def gen(): yield from outside_of_generator - a = (yield) - +- a = (yield) +- b = ((yield)) +- c = (((yield))) ++ a = yield ++ b = yield ++ c = yield + + async def f(): await some.complicated[0].call(with_args=(True or (1 is not 1))) -print(* [] or [1])