Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
use crate::{load_language, SUPPORTED_LANGUAGES};
/// Validate that every supported language can be loaded successfully.
/// This catches invalid node types, syntax errors, and other issues in .scm query files
/// (highlights, indents, identifiers) that would otherwise only surface at runtime.
#[test]
fn all_supported_languages_load_successfully() {
let failures: Vec<_> = SUPPORTED_LANGUAGES
.iter()
.filter(|lang| load_language(lang).is_none())
.collect();
assert!(
failures.is_empty(),
"The following languages failed to load:\n{}",
failures
.iter()
.map(|lang| format!(" - {lang}"))
.collect::<Vec<_>>()
.join("\n")
);
}