]> git.madduck.net Git - etc/vim.git/blob - tests/data/preview/trailing_comma.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:

Rewrite mostly useless assert in test_trans.py (#3810)
[etc/vim.git] / tests / data / preview / trailing_comma.py
1 e = {
2     "a": fun(msg, "ts"),
3     "longggggggggggggggid": ...,
4     "longgggggggggggggggggggkey": ..., "created": ...
5     # "longkey": ...
6 }
7 f = [
8     arg1,
9     arg2,
10     arg3, arg4
11     # comment
12 ]
13 g = (
14     arg1,
15     arg2,
16     arg3, arg4
17     # comment
18 )
19 h = {
20     arg1,
21     arg2,
22     arg3, arg4
23     # comment
24 }
25
26 # output
27
28 e = {
29     "a": fun(msg, "ts"),
30     "longggggggggggggggid": ...,
31     "longgggggggggggggggggggkey": ...,
32     "created": ...,
33     # "longkey": ...
34 }
35 f = [
36     arg1,
37     arg2,
38     arg3,
39     arg4,
40     # comment
41 ]
42 g = (
43     arg1,
44     arg2,
45     arg3,
46     arg4,
47     # comment
48 )
49 h = {
50     arg1,
51     arg2,
52     arg3,
53     arg4,
54     # comment
55 }