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
Adrien Vergé 2d8639c3a1 quoted-strings: Fix broken rule for list items
The rule worked for values like:

    flow-map: {a: foo, b: "bar"}
    block-map:
      a: foo
      b: "bar"

But not for:

    flow-seq: [foo, "bar"]
    block-seq:
      - foo
      - "bar"

Also add tests to make sure there will be no regression.

Fixes: #208.
5 years ago
..
rules quoted-strings: Fix broken rule for list items 5 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 10 years ago
__init__.py Tests: Run with LC_ALL=C for uniform tests 9 years ago
common.py Drop support for EOL Python 2.6 7 years ago
test_cli.py Fix new-lines rule on Python 3 5 years ago
test_config.py feat: Lint .yamllint by default 6 years ago
test_linter.py Drop support for EOL Python 2.6 7 years ago
test_module.py Drop support for EOL Python 2.6 7 years ago
test_parser.py Upgrade unit tests to use more useful asserts 7 years ago
test_spec_examples.py Remove redundant parentheses 7 years ago
test_syntax_errors.py Rules: indentation: Handle sets 10 years ago
test_yamllint_directives.py Allow disabling all checks for a file 6 years ago