Update commas.py

Error in the example snippet, it would NOT pass otherwise actually:
```
test.yml
  1:1       warning  missing document start "---"  (document-start)
  2:11      error    too few spaces after comma  (commas)
```
pull/301/head
Kirill Deyko 5 years ago committed by GitHub
parent b65769c9d2
commit 663bec9f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,7 +76,7 @@ Use this rule to control the number of spaces before and after commas (``,``).
:: ::
strange var: strange var:
[10, 20,30, {x: 1, y: 2}] [10, 20, 30, {x: 1, y: 2}]
the following code snippet would **FAIL**: the following code snippet would **FAIL**:
:: ::

Loading…
Cancel
Save