From 2771f74383dcbcb0369545f922052cfd722c1411 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Fri, 14 Aug 2020 12:16:24 -0400 Subject: Add new option to show-config and test of gitconfig --- src/options/set.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/options') 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"); -- cgit v1.2.3