Skip to content

Commit 816533b

Browse files
committed
add some emoji to the fuzz mix
1 parent a381476 commit 816533b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fuzz/uufuzz/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,10 @@ pub fn compare_result(
388388

389389
pub fn generate_random_string(max_length: usize) -> String {
390390
let mut rng = rand::rng();
391-
let valid_utf8: Vec<char> = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
392-
.chars()
393-
.collect();
391+
let valid_utf8: Vec<char> =
392+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789🔩🪛🪓⚙️🔗🧰"
393+
.chars()
394+
.collect();
394395
let invalid_utf8 = [0xC3, 0x28]; // Invalid UTF-8 sequence
395396
let mut result = String::new();
396397

0 commit comments

Comments
 (0)