X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5192ed484bdbe507a8dd03dc31f93e4efec95b19..54d707e10a5bf3d8d352c1bcbc7946bb6f3c01d7:/tests/expression.diff?ds=sidebyside 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]