X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/882d8795c6ff65c02f2657e596391748d1b6b7f5:/tests/data/cases/preview_long_dict_values.py..HEAD:/.vim/bundle/black/tests/data/cases/static/git-logo.png diff --git a/tests/data/cases/preview_long_dict_values.py b/tests/data/cases/preview_long_dict_values.py deleted file mode 100644 index fbbacd1..0000000 --- a/tests/data/cases/preview_long_dict_values.py +++ /dev/null @@ -1,91 +0,0 @@ -# flags: --preview -my_dict = { - "something_something": - r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t" - r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t" - r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t", -} - -my_dict = { - "a key in my dict": a_very_long_variable * and_a_very_long_function_call() / 100000.0 -} - -my_dict = { - "a key in my dict": a_very_long_variable * and_a_very_long_function_call() * and_another_long_func() / 100000.0 -} - -my_dict = { - "a key in my dict": MyClass.some_attribute.first_call().second_call().third_call(some_args="some value") -} - -{ - 'xxxxxx': - xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx( - xxxxxxxxxxxxxx={ - 'x': - xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={ - 'x': x.xx, - 'x': x.x, - })))) - }), -} - - -# output - - -my_dict = { - "something_something": ( - r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t" - r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t" - r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t" - ), -} - -my_dict = { - "a key in my dict": ( - a_very_long_variable * and_a_very_long_function_call() / 100000.0 - ) -} - -my_dict = { - "a key in my dict": ( - a_very_long_variable - * and_a_very_long_function_call() - * and_another_long_func() - / 100000.0 - ) -} - -my_dict = { - "a key in my dict": ( - MyClass.some_attribute.first_call() - .second_call() - .third_call(some_args="some value") - ) -} - -{ - "xxxxxx": xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx( - xxxxxxxxxxxxxx={ - "x": xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={ - "x": x.xx, - "x": x.x, - } - ) - ) - ) - ) - } - ), -}