You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/tests/rules
Adrien Vergé 847f7e3fff Rules: comments: Fix bug when multi-line scalar
YAML content like the following one produced an error, because the
ScalarToken associated whose value is "this is plain text" ends at the
beginning of the 5th line (the one with the comment):

    ---
    string: >
      this is plain text

    # comment
9 years ago
..
__init__.py Initial commit 9 years ago
common.py Make syntax errors prevail over all yamllint problems 9 years ago
test_braces.py Rules: Add the 'braces' rule 9 years ago
test_brackets.py Rules: Add the 'brackets' rule 9 years ago
test_colons.py Rules: indentation: Add the 'indent-sequences' option 9 years ago
test_commas.py Rules: commas: Don't allow a comma on a new line 9 years ago
test_comments.py Rules: comments: Fix bug when multi-line scalar 9 years ago
test_comments_indentation.py Rules: indentation: Add the 'indent-sequences' option 9 years ago
test_common.py Rules: comments-indentation: Allow two levels 9 years ago
test_document_end.py Rewrite syntax errors handling and test them 9 years ago
test_document_start.py Make syntax errors prevail over all yamllint problems 9 years ago
test_empty_lines.py Initial commit 9 years ago
test_hyphens.py Rules: indentation: Add the 'indent-sequences' option 9 years ago
test_indentation.py Tests: indentation: Add explicit keys test cases 9 years ago
test_line_length.py Initial commit 9 years ago
test_new_line_at_end_of_file.py Initial commit 9 years ago
test_new_lines.py Initial commit 9 years ago
test_syntax_error.py Rules: indentation: Rewrite the algorithm (again) 9 years ago
test_trailing_spaces.py Make syntax errors prevail over all yamllint problems 9 years ago