X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b250aed47bf11240b460bf4ecb57ba3f28078fd1..987543001ab6aded0ff4f87a9eafe641e33e2206:/tests/expression.diff?ds=inline diff --git a/tests/expression.diff b/tests/expression.diff index 11c1355..ad5e934 100644 --- a/tests/expression.diff +++ b/tests/expression.diff @@ -129,8 +129,8 @@ ] slice[0] slice[0:1] -@@ -123,88 +145,114 @@ - numpy[-(c + 1):, d] +@@ -123,91 +145,119 @@ + numpy[-(c + 1) :, d] numpy[:, l[-2]] numpy[:, ::-1] numpy[np.newaxis, :] @@ -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 ():