X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80500748a7b4246e2381ddce869a09a215a591ae..9d9f96a7b4a10c3b4967852f83ec5efa9c237e98:/tests/data/expression.diff?ds=sidebyside 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])