aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-07-26 03:15:35 +0200
committerTeddy Wing2020-07-26 03:15:35 +0200
commit31589ef27a2942ea94f7d20e228d136cee1e654b (patch)
tree2fdbb111910fcd1194486f7426dc3f5aa1ea94ae /src
parent0ea9202eb81e18647b40563fd3dbc61b626ce2ec (diff)
downloadgit-suggestion-31589ef27a2942ea94f7d20e228d136cee1e654b.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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#"