diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-08-01 21:47:04 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-08-01 21:47:45 -0400 |
commit | 615ca3e94992f87052b3af1828f34a31dedcc590 (patch) | |
tree | 1bed396badead6fdcaacf418411f766c8f629b7f | |
parent | 95fa6e27ce69dad7f2399703adb8a9bdc3a45113 (diff) |
Add trailing comma
-rw-r--r-- | src/style.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.rs b/src/style.rs index 2255fd47..f1f4462d 100644 --- a/src/style.rs +++ b/src/style.rs @@ -255,7 +255,7 @@ mod tests { ("bold 0 ul #aabbcc strike", "\x1b[1;4;9;30;48;2;170;187;204m+\x1b[m\x1b[1;4;9;30;48;2;170;187;204mtext\x1b[m\n"), (r##"black "#ddeeff""##, "\x1b[30;48;2;221;238;255m+\x1b[m\x1b[30;48;2;221;238;255m .map(|(_, is_ansi)| is_ansi)\x1b[m\n"), ("brightred", "\x1b[91m+\x1b[m\x1b[91mtext\x1b[m\n"), - ("normal", "+\x1b[mtext\x1b[m\n") + ("normal", "+\x1b[mtext\x1b[m\n"), ] { assert!(Style::from_git_str(git_style_string).is_applied_to(git_output)); } |