X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80500748a7b4246e2381ddce869a09a215a591ae..8f380911e0cd8057bd9a1f0c418d81195ce858a3:/tests/data/expression.diff diff --git a/tests/data/expression.diff b/tests/data/expression.diff index b26d931..9e01f3f 100644 --- a/tests/data/expression.diff +++ b/tests/data/expression.diff @@ -147,7 +147,7 @@ slice[0:1:2] slice[:] slice[:-1] -@@ -133,111 +156,169 @@ +@@ -133,113 +156,171 @@ numpy[-(c + 1) :, d] numpy[:, l[-2]] numpy[:, ::-1] @@ -158,7 +158,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 +215,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])