X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9f096d55365cb63548eef97e254c2793ae2776a0..987543001ab6aded0ff4f87a9eafe641e33e2206:/tests/expression.diff diff --git a/tests/expression.diff b/tests/expression.diff index 309a480..ad5e934 100644 --- a/tests/expression.diff +++ b/tests/expression.diff @@ -129,7 +129,7 @@ ] slice[0] slice[0:1] -@@ -123,88 +145,114 @@ +@@ -123,91 +145,119 @@ numpy[-(c + 1) :, d] numpy[:, l[-2]] numpy[:, ::-1] @@ -201,6 +201,9 @@ +print(*[] or [1]) print(**{1: 3} if False else {x: x for x in range(3)}) -print(* lambda x: x) +-assert(not Test),("Short message") +-assert this is ComplexTest and not requirements.fit_in_a_single_line(force=False), "Short message" +-assert(((parens is TooMany))) -for x, in (1,), (2,), (3,): ... -for y in (): ... -for z in (i for i in (1, 2, 3)): ... @@ -242,6 +245,11 @@ - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa / - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +print(*lambda x: x) ++assert not Test, "Short message" ++assert ( ++ this is ComplexTest and not requirements.fit_in_a_single_line(force=False) ++), "Short message" ++assert parens is TooMany +for (x,) in (1,), (2,), (3,): + ... +for y in ():