Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit 3cca64e

Browse files
authored
Merge pull request #84 from johannhof/update-difference
Update to difference v2.0
2 parents 3bc9787 + fe1fbf1 commit 3cca64e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "assert_fixture"
1717

1818
[dependencies]
1919
colored = "1.5"
20-
difference = "1.0"
20+
difference = "2.0"
2121
error-chain = "0.11"
2222
serde_json = "1.0"
2323
environment = "0.1"

src/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ mod tests {
5555
println!("{}", render(&diff).unwrap());
5656
assert_eq!(
5757
render(&diff).unwrap(),
58-
" \n\u{1b}[31m-lol\u{1b}[0m\n\u{1b}[32m+\u{1b}[0m\u{1b}[7;32myay\u{1b}[0m \n"
58+
"\u{1b}[31m-lol\u{1b}[0m\n\u{1b}[32m+\u{1b}[0m\u{1b}[7;32myay\u{1b}[0m \n"
5959
)
6060
}
6161

0 commit comments

Comments
 (0)