From 260a9e90717d9b3040129f32cd9a83803f48780f Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 26 Jul 2020 19:20:47 +0200 Subject: Suggestion: Update tests to add new `commit` field --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 0be907a..a343791 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -282,6 +282,7 @@ mod tests { ```suggestion "os" ```"#.to_owned(), + commit: "".to_owned(), path: "".to_owned(), original_start_line: Some(8), original_end_line: 8, @@ -405,6 +406,7 @@ mod tests { He took his vorpal sword in hand: Long time the manxome foe he sought— ```"#.to_owned(), + commit: "".to_owned(), path: temp.path().to_string_lossy().to_string(), original_start_line: Some(7), original_end_line: 8, -- cgit v1.2.3