We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12298e6 commit 5a86cd2Copy full SHA for 5a86cd2
1 file changed
Tests/CodeEditTextViewTests/CodeEditTextViewTests.swift
@@ -238,6 +238,15 @@ final class CodeEditTextViewTests: XCTestCase {
238
XCTAssertEqual(language.id, .yaml)
239
}
240
241
+ // MARK: Zig
242
+
243
+ func test_CodeLanguageZig() throws {
244
+ let url = URL(fileURLWithPath: "~/path/to/file.zig")
245
+ let language = CodeLanguage.detectLanguageFrom(url: url)
246
247
+ XCTAssertEqual(language.id, .zig)
248
+ }
249
250
// MARK: Unsupported
251
252
func test_CodeLanguageUnsupported() throws {
0 commit comments