We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4498747 commit 5841f43Copy full SHA for 5841f43
1 file changed
Tests/CodeEditTextViewTests/CodeEditTextViewTests.swift
@@ -107,6 +107,22 @@ final class CodeEditTextViewTests: XCTestCase {
107
XCTAssertEqual(language.id, .css)
108
}
109
110
+ // MARK: Elixir
111
+
112
+ func test_CodeLanguageElixir() throws {
113
+ let url = URL(fileURLWithPath: "~/path/to/file.ex")
114
+ let language = CodeLanguage.detectLanguageFrom(url: url)
115
116
+ XCTAssertEqual(language.id, .elixir)
117
+ }
118
119
+ func test_CodeLanguageElixir2() throws {
120
+ let url = URL(fileURLWithPath: "~/path/to/file.exs")
121
122
123
124
125
126
// MARK: Go
127
128
func test_CodeLanguageGo() throws {
0 commit comments