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é e90e0a0eb5 anchors: Fix invalid YAML in aliases test cases
Although accepted by PyYAML, `{*x: 4}` is not valid YAML: it should be
noted `{*x : 4}`. The reason is that a colon can be part of an anchor
name. See this comment from Tina Müller for more details:
https://github.com/adrienverge/yamllint/pull/550#discussion_r1155297373

Even if it's not a problem for yamllint, let's fix our tests to include
valid YAML snippets.
2 years ago
..
rules anchors: Fix invalid YAML in aliases test cases 2 years ago
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 9 years ago
__init__.py refactor: Remove UTF-8 headers in Python files 3 years ago
common.py tests: Increase test coverage 3 years ago
test_cli.py cli: Add --list-files command line option 2 years ago
test_config.py configuration: Allow using a list of strings in ignore configuration 2 years ago
test_linter.py Remove Unicode marker before strings 2 years ago
test_module.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_parser.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_spec_examples.py Apply some pyupgrade suggestions 2 years ago
test_syntax_errors.py refactor: Remove UTF-8 headers in Python files 3 years ago
test_yamllint_directives.py refactor: Remove UTF-8 headers in Python files 3 years ago