diff options
| author | Teddy Wing | 2020-07-26 03:15:35 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2020-07-26 03:15:35 +0200 | 
| commit | 31589ef27a2942ea94f7d20e228d136cee1e654b (patch) | |
| tree | 2fdbb111910fcd1194486f7426dc3f5aa1ea94ae | |
| parent | 0ea9202eb81e18647b40563fd3dbc61b626ce2ec (diff) | |
| download | git-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.
| -rw-r--r-- | src/lib.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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#" | 
