We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ccfd3c commit ad60569Copy full SHA for ad60569
1 file changed
Tests/CodeEditTextViewTests/CodeEditTextViewTests.swift
@@ -125,6 +125,15 @@ final class CodeEditTextViewTests: XCTestCase {
125
XCTAssertEqual(language.id, .goMod)
126
}
127
128
+ // MARK: Haskell
129
+
130
+ func test_CodeLanguageHaskell() throws {
131
+ let url = URL(fileURLWithPath: "~/path/to/file.hs")
132
+ let language = CodeLanguage.detectLanguageFrom(url: url)
133
134
+ XCTAssertEqual(language.id, .haskell)
135
+ }
136
137
// MARK: HTML
138
139
func test_CodeLanguageHTML() throws {
0 commit comments