From adb67c1112e88a1c1b045f07f9dc97d52915d947 Mon Sep 17 00:00:00 2001 From: Cheick Keita Date: Sat, 29 May 2021 19:24:47 -0700 Subject: [PATCH] fix test --- src/agent/onefuzz/src/libfuzzer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agent/onefuzz/src/libfuzzer.rs b/src/agent/onefuzz/src/libfuzzer.rs index 813899f538..58cadff5b1 100644 --- a/src/agent/onefuzz/src/libfuzzer.rs +++ b/src/agent/onefuzz/src/libfuzzer.rs @@ -342,8 +342,10 @@ mod tests { #[test] fn test_libfuzzer_line_pulse() { let line = r"#2097152 pulse cov: 11 ft: 11 corp: 6/21b lim: 4096 exec/s: 699050 rss: 562Mb"; + let parser = LibFuzzerLineParser::new().unwrap(); - let parsed = LibFuzzerLine::parse(line) + let parsed = parser + .parse(line) .expect("parse error") .expect("no captures");