yamllint/tests
Adrien Vergé 008db4aa09 float-values: Fix bug on strings containing fordidden values
The rule correctly reports number values like `.1`, `1e2`, `.NaN` and
`.Inf`, but it also reported false positives on strings like `.1two3`,
`1e2a`, `.NaNa` and `.Infinit∞`.

The regexps need to end with an end delimiter (`$`) otherwise longer
strings can be matched too.

Fixes https://github.com/adrienverge/yamllint/issues/495
2022-10-04 08:59:51 +02:00
..
rules float-values: Fix bug on strings containing fordidden values 2022-10-04 08:59:51 +02:00
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 2016-02-01 23:27:49 +01:00
__init__.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00
common.py tests: Increase test coverage 2022-06-09 10:03:08 +02:00
test_cli.py No need to inherit from object in Python 3 2022-08-05 08:49:56 +02:00
test_config.py config: Implement for ignore-from-file option 2022-08-10 08:35:40 +02:00
test_linter.py tests: Increase test coverage 2022-06-09 10:03:08 +02:00
test_module.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00
test_parser.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00
test_spec_examples.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00
test_syntax_errors.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00
test_yamllint_directives.py refactor: Remove UTF-8 headers in Python files 2022-06-09 09:40:06 +02:00