summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeopJr <evan@geopjr.dev>2021-05-28 15:06:23 +0000
committerDavid Faure <faure@kde.org>2021-05-28 15:06:23 +0000
commit19ae0236be95b168d3049907cdd0c521f8dc45a3 (patch)
tree4a8a7f93d80e0030e7b700e533db35dbe67d213d /tests
parent9c026f5abbd48927a4e10c7445336e9c90e6826c (diff)
downloadshared-mime-info-19ae0236be95b168d3049907cdd0c521f8dc45a3.tar.gz
Add text/x-crystal
Diffstat (limited to 'tests')
-rw-r--r--tests/mime-detection/list2
-rw-r--r--tests/mime-detection/test.cr1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index d408e21e..9f110da9 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -402,6 +402,8 @@ shell-calls-awk application/x-shellscript x
test.ttl text/turtle ox
# Twig template
test.twig text/x-twig ox
+# Crystal
+test.cr text/x-crystal ox
test.rs text/rust ox
# Copied from http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#basics
test.csvs text/csv-schema ox
diff --git a/tests/mime-detection/test.cr b/tests/mime-detection/test.cr
new file mode 100644
index 00000000..bf234ce7
--- /dev/null
+++ b/tests/mime-detection/test.cr
@@ -0,0 +1 @@
+puts "Hello, world!"