aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-07-26 19:20:47 +0200
committerTeddy Wing2020-07-26 19:20:47 +0200
commit260a9e90717d9b3040129f32cd9a83803f48780f (patch)
tree2d2c973d53b3041781fb3172f5cb03c06817250d /src
parent1d15f9739f690f2e7afbb2bf868be74044ab3f30 (diff)
downloadgit-suggestion-260a9e90717d9b3040129f32cd9a83803f48780f.tar.bz2
Suggestion: Update tests to add new `commit` field
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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,