From 31589ef27a2942ea94f7d20e228d136cee1e654b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 26 Jul 2020 03:15:35 +0200 Subject: suggestion_apply_to_writes_patch_to_writer: Fix line numbers Now that I fixed the line numbers in the code (0ea9202eb81e18647b40563fd3dbc61b626ce2ec), we need to correct them in the test as well. The empty line after the `r#"` delimiter is the first line. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index a743161..a510b9f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -333,8 +333,8 @@ mod tests { Long time the manxome foe he sought— ```"#.to_owned(), path: temp.path().to_string_lossy().to_string(), - original_start_line: Some(6), - original_end_line: 7, + original_start_line: Some(7), + original_end_line: 8, }; let expected = r#" -- cgit v1.2.3