Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

test(cli): cover response body regex end to end

ldm0420cbdcf5d51
diff --git a/moli/tests/fetch_cli.rs b/moli/tests/fetch_cli.rs
index e47010143..4f7a07430 100644
--- a/moli/tests/fetch_cli.rs
+++ b/moli/tests/fetch_cli.rs
@@ -1657,7 +1657,7 @@ fn cli_wait_response_matches_url_body_and_json_without_networkidle() -> Result<(
"--wait-response-url",
"/wait-until-json-data",
"--wait-response-body",
- "SUCCESS",
+ "SUCC[A-Z]+",
"--wait-response-json",
"data.url=/item/42",
"--dump",