X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/e44de444711dd8dc9d79f4fd6ab86c2d0fd26862..fa8b547998d23b948cadde2c9e8f35b9055f9189:/src/lib.rs?ds=sidebyside diff --git a/src/lib.rs b/src/lib.rs index b52806a..d55aa53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -489,10 +489,10 @@ mod tests { #[test] fn test_read_config() { assert_eq!( - read_config(&b"!col_threshold 10"[..]).unwrap(), - Config { - column_threshold: 10 - } + read_config(&b"!col_threshold 10"[..]) + .unwrap() + .column_threshold, + 10 ); let bad_num = read_config(&b"!col_threshold foo"[..]);