From 1eb9aac2f7a8469a682528a0d63128d599fabae7 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 10 May 2024 16:30:24 +0800 Subject: adds Nim-related mimetypes back (#23589) ref https://github.com/nim-lang/Nim/pull/23226 --- tests/stdlib/tmimetypes.nim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/stdlib/tmimetypes.nim b/tests/stdlib/tmimetypes.nim index 372a8f3d8..fd66ebd97 100644 --- a/tests/stdlib/tmimetypes.nim +++ b/tests/stdlib/tmimetypes.nim @@ -19,5 +19,10 @@ template main() = # see also `runnableExamples`. # xxx we should have a way to avoid duplicating code between runnableExamples and tests + doAssert m.getMimetype("nim") == "text/nim" + doAssert m.getMimetype("nimble") == "text/nimble" + doAssert m.getMimetype("nimf") == "text/nim" + doAssert m.getMimetype("nims") == "text/nim" + static: main() main() -- cgit 1.4.1-2-gfad0