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
+23
View File
@@ -0,0 +1,23 @@
use super::*;
#[test]
fn test_parse_valid_app_id() {
let app_id_string = "com.example.App";
let app_id = AppId::parse(app_id_string).expect("should not fail to parse");
assert_eq!(app_id.qualifier(), "com");
assert_eq!(app_id.organization(), "example");
assert_eq!(app_id.application_name(), "App");
assert_eq!(app_id_string, &app_id.to_string());
}
#[test]
fn test_parse_invalid_app_id() {
assert!(
AppId::parse("com.example").is_err(),
"should fail to parse two-part app ID string"
);
assert!(
AppId::parse("com.example.App.Blah").is_err(),
"should fail to parse four-part app ID string"
);
}