Add test for line format

- No trailing whitespace
- Only one space after comma and colon
- No space before comma and colon
- No space inside brackets
Merge pull request #83 from yous/patch-test-spacing-before-and-after-colon

Add test for line format