diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-08-14 12:16:24 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-08-14 12:16:24 -0400 |
commit | 2771f74383dcbcb0369545f922052cfd722c1411 (patch) | |
tree | 8b11562f0dcf1b807de54471c344751a3d8aea7f /src/options | |
parent | d4441fe24a36b1134b110680283929ec4fb23d24 (diff) |
Add new option to show-config and test of gitconfig
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/set.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options/set.rs b/src/options/set.rs index cca385ad..e291a450 100644 --- a/src/options/set.rs +++ b/src/options/set.rs @@ -632,6 +632,7 @@ pub mod tests { line-numbers-right-style = black black line-numbers-zero-style = black black max-line-distance = 77 + max-line-length = 77 minus-emph-style = black black minus-empty-line-marker-style = black black minus-non-emph-style = black black @@ -688,6 +689,7 @@ pub mod tests { assert_eq!(opt.line_numbers_right_style, "black black"); assert_eq!(opt.line_numbers_zero_style, "black black"); assert_eq!(opt.max_line_distance, 77 as f64); + assert_eq!(opt.max_line_length, 77); assert_eq!(opt.minus_emph_style, "black black"); assert_eq!(opt.minus_empty_line_marker_style, "black black"); assert_eq!(opt.minus_non_emph_style, "black black"); |