X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b5b658da0683c3e0806461946d8b492784e26d97..d73166c42b7de83249d17125cae3c2594a25b2c3:/tests/expression.diff diff --git a/tests/expression.diff b/tests/expression.diff index dd9459c..9da0048 100644 --- a/tests/expression.diff +++ b/tests/expression.diff @@ -11,7 +11,7 @@ True False 1 -@@ -29,59 +29,73 @@ +@@ -29,60 +29,78 @@ ~great +value -1 @@ -24,8 +24,14 @@ lambda a, b, c=True: a -lambda a, b, c=True, *, d=(1 << v2), e='str': a -lambda a, b, c=True, *vararg, d=(v1 << 2), e='str', **kwargs: a + b +-foo = (lambda port_id, ignore_missing: {"port1": port1_resource, "port2": port2_resource}[port_id]) +lambda a, b, c=True, *, d=(1 << v2), e="str": a +lambda a, b, c=True, *vararg, d=(v1 << 2), e="str", **kwargs: a + b ++foo = ( ++ lambda port_id, ignore_missing: {"port1": port1_resource, "port2": port2_resource}[ ++ port_id ++ ] ++) 1 if True else 2 str or None if True else str or bytes or None (str or None) if True else (str or bytes or None) @@ -104,7 +110,7 @@ call(**self.screen_kwargs) call(b, **self.screen_kwargs) lukasz.langa.pl -@@ -90,11 +104,11 @@ +@@ -91,11 +109,11 @@ 1.0 .real ....__class__ list[str] @@ -117,7 +123,7 @@ ] slice[0] slice[0:1] -@@ -121,88 +135,122 @@ +@@ -122,88 +140,122 @@ numpy[-(c + 1):, d] numpy[:, l[-2]] numpy[:, ::-1]