aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/forgejo_url_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/util/forgejo_url_test.rs')
-rw-r--r--crates/shirabe/tests/util/forgejo_url_test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/tests/util/forgejo_url_test.rs b/crates/shirabe/tests/util/forgejo_url_test.rs
index e29c05e..5c33596 100644
--- a/crates/shirabe/tests/util/forgejo_url_test.rs
+++ b/crates/shirabe/tests/util/forgejo_url_test.rs
@@ -3,7 +3,7 @@
use shirabe::util::forgejo_url::ForgejoUrl;
#[test]
-#[ignore = "Preg::match panics: ForgejoUrl::URL_REGEX is an undelimited pattern"]
+#[ignore]
fn test_create() {
for repo_url in create_provider() {
let forgejo_url = ForgejoUrl::try_from(Some(repo_url));
@@ -29,13 +29,13 @@ fn create_provider() -> Vec<&'static str> {
}
#[test]
-#[ignore = "Preg::match panics: ForgejoUrl::URL_REGEX is an undelimited pattern"]
+#[ignore]
fn test_create_invalid() {
assert!(ForgejoUrl::create("https://example.org").is_err());
}
#[test]
-#[ignore = "Preg::match panics: ForgejoUrl::URL_REGEX is an undelimited pattern"]
+#[ignore]
fn test_generate_ssh_url() {
let forgejo_url = ForgejoUrl::create("git@codeberg.org:acme/repo.git").unwrap();