Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit c68b673

Browse files
committed
Simplify URL arbitrary even further to guarantee that it's parseable
1 parent 5a71ded commit c68b673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent/onefuzz-task/src/config_test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub mod arbitraries {
6969
fn arb_url()(
7070
// Don't use this for any url that isn't just being used for a string comparison (as for the config tests)
7171
// basically all that matters here is that we generate a parsable url
72-
url in r"https?://(www\.)?[-a-zA-Z0-9]{1,256}\.com"
72+
url in r"https?://(www\.)?[a-zA-Z0-9]{1,64}\.com"
7373
) -> Url {
7474
match Url::parse(&url) {
7575
Ok(url) => url,

0 commit comments

Comments
 (0)