Add Dart syntax highlighting (#1326)

This commit is contained in:
Mohamed Boudra
2026-06-04 18:26:23 +08:00
committed by GitHub
parent de9d796567
commit 1daa4587e5
3 changed files with 21 additions and 0 deletions
@@ -14,6 +14,7 @@ describe("isLanguageSupported", () => {
expect(isLanguageSupported("test.html")).toBe(true);
expect(isLanguageSupported("test.java")).toBe(true);
expect(isLanguageSupported("test.swift")).toBe(true);
expect(isLanguageSupported("test.dart")).toBe(true);
expect(isLanguageSupported("test.ex")).toBe(true);
});
@@ -51,6 +52,7 @@ describe("getSupportedExtensions", () => {
expect(extensions).toContain("go");
expect(extensions).toContain("rs");
expect(extensions).toContain("swift");
expect(extensions).toContain("dart");
expect(extensions).toContain("json");
});
});