#[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"[..]);