Skip to content

Commit

Permalink
Merge pull request #7 from kytrinyx/recognize-haskell
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
mikegehard committed Sep 14, 2013
2 parents 22fae75 + 43c1a86 commit 684c429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/exercism/submission.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions src/exercism/submission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
}

Expand Down

0 comments on commit 684c429

Please sign in to comment.