]> git.madduck.net Git - etc/vim.git/blob - tests/cantfit.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

don't run tests from /build
[etc/vim.git] / tests / cantfit.py
1 # long variable name
2 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 0
3 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = 1  # with a comment
4 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [
5     1, 2, 3
6 ]
7 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = function()
8 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = function(
9     arg1, arg2, arg3
10 )
11 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = function(
12     [1, 2, 3], arg1, [1, 2, 3], arg2, [1, 2, 3], arg3
13 )
14 # long function name
15 normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying()
16 normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying(
17     arg1, arg2, arg3
18 )
19 normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying(
20     [1, 2, 3], arg1, [1, 2, 3], arg2, [1, 2, 3], arg3
21 )
22 # long arguments
23 normal_name = normal_function_name(
24     "but with super long string arguments that on their own exceed the line limit so there's no way it can ever fit",
25     "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs",
26     this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it=0,
27 )
28
29
30 # output
31
32
33 # long variable name
34 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = (
35     0
36 )
37 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = (
38     1
39 )  # with a comment
40 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [
41     1,
42     2,
43     3,
44 ]
45 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = (
46     function()
47 )
48 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = function(
49     arg1, arg2, arg3
50 )
51 this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = function(
52     [1, 2, 3], arg1, [1, 2, 3], arg2, [1, 2, 3], arg3
53 )
54 # long function name
55 normal_name = (
56     but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying()
57 )
58 normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying(
59     arg1, arg2, arg3
60 )
61 normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_super_annoying(
62     [1, 2, 3], arg1, [1, 2, 3], arg2, [1, 2, 3], arg3
63 )
64 # long arguments
65 normal_name = normal_function_name(
66     "but with super long string arguments that on their own exceed the line limit so there's no way it can ever fit",
67     "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs",
68     this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it=0,
69 )