From 43c1a86c43ad9ec14e9a9cc1cbe492dcdfec7b92 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sat, 14 Sep 2013 19:03:38 +0200 Subject: [PATCH] Recognize haskell test files --- src/exercism/submission.go | 1 + src/exercism/submission_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/src/exercism/submission.go b/src/exercism/submission.go index 15e3d54e1..db7d52498 100644 --- a/src/exercism/submission.go +++ b/src/exercism/submission.go @@ -9,6 +9,7 @@ var testExtensions = map[string]string{ "clojure": "_test.clj", "python": "_test.py", "go": "_test.go", + "haskell": "_test.hs", } func IsTest(filename string) bool { diff --git a/src/exercism/submission_test.go b/src/exercism/submission_test.go index 6dd984ad0..1c82677b8 100644 --- a/src/exercism/submission_test.go +++ b/src/exercism/submission_test.go @@ -14,6 +14,7 @@ var isTestTests = []struct { {"bob_test.clj", true}, {"bob_test.py", true}, {"bob_test.go", true}, + {"bob_test.hs", true}, {"bob.rb", false}, }