diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-02-10 13:55:12 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-02-10 13:55:12 +0100 |
commit | d20a9cb1ca8dfb74d19fdef72a71622d182c384a (patch) | |
tree | 859d211f72a1e3f5621e6cb92762a993102df3a7 | |
parent | 99bf0b6d4cbdceaae749ae0fd7bbf6bfc5f66bdb (diff) | |
download | shared-mime-info-d20a9cb1ca8dfb74d19fdef72a71622d182c384a.tar.gz |
tests: Add C/C++ tests
Those also test for case-insensitive matching rules working.
-rw-r--r-- | tests/mime-detection/cfile.c | 0 | ||||
-rw-r--r-- | tests/mime-detection/cplusplusfile.C | 0 | ||||
-rw-r--r-- | tests/mime-detection/list | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/mime-detection/cfile.c b/tests/mime-detection/cfile.c new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/mime-detection/cfile.c diff --git a/tests/mime-detection/cplusplusfile.C b/tests/mime-detection/cplusplusfile.C new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/mime-detection/cplusplusfile.C diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 4036dd42..d0692c6e 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -693,6 +693,10 @@ SConscript text/x-scons oxo # copied from https://raw.githubusercontent.com/mongodb/mongo/master/SConscript.buildinfo SConscript.buildinfo text/x-scons oxo +# Source code +cplusplusfile.C text/x-c++src oxo +cfile.c text/x-csrc oxo + # systemd units systemd.automount text/x-systemd-unit systemd.device text/x-systemd-unit |