1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-06 02:41:06 +01:00
bat/tests/syntax-tests
Martin Nordholts 5fe9b3e1b3 Make INI syntax register as handler of .inf files
We need to type `inf` and `INF` as strings in `INI.sublime-syntax`,
otherwise `yaml-rust` interprets them as real numbers ("infinity") and
they do not get registered as file extensions:

    /Users/martin/src/yaml-rust # https://github.com/chyh1990/yaml-rust
    % cargo run --example dump_yaml ~/src/bat/assets/syntaxes/02_Extra/INI.sublime-syntax
    ---
    String("name"):
        String("INI")
    String("file_extensions"):
            String("ini")
            String("INI")
            Real("inf")
            Real("INF")
    ...

Also add a regression test.
2022-05-11 17:39:01 +02:00
..
highlighted Make INI syntax register as handler of .inf files 2022-05-11 17:39:01 +02:00
source Make INI syntax register as handler of .inf files 2022-05-11 17:39:01 +02:00
BatTestCustomAssets.sublime-syntax Add regression testing for the custom assets functionality (#1829) 2021-09-07 17:01:15 +02:00
compare_highlighted_versions.py Add comparison script 2020-08-03 15:59:53 +02:00
create_highlighted_versions.py create_highlighted_versions: fix misleading/wrong error message 2021-10-24 12:24:46 +02:00
regression_test.sh Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444) 2020-12-21 08:16:49 +01:00
test_custom_assets.sh Add regression testing for the custom assets functionality (#1829) 2021-09-07 17:01:15 +02:00
update.sh fix: warnings of ShellCheck 2020-12-21 09:08:54 +01:00