aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-07-21 19:43:45 +0200
committerTeddy Wing2020-07-21 19:43:45 +0200
commit7f60ab275bce53ebc3d770fbda7439c4c4d7c8c6 (patch)
treef790ea5148aed9ca31b762ccb2023a4648e6588c
parent1e883be33f61818e941dd2a147ce1bba85d178ce (diff)
downloadgit-suggestion-7f60ab275bce53ebc3d770fbda7439c4c4d7c8c6.tar.bz2
suggestion_patch_generates_patch: Add attribution
Describe the source of the test data.
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 839ad0b..6811a1e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -111,6 +111,10 @@ mod tests {
#[test]
fn suggestion_patch_generates_patch() {
+ // Diff from gabgodBB (https://github.com/gabgodBB) and suggestion from
+ // probablycorey (https://github.com/probablycorey) in this pull
+ // request: https://github.com/cli/cli/pull/1123
+
let suggestion = Suggestion {
diff: r#"@@ -1, 9 +1, 11 @@
package command