##// END OF EJS Templates
rust-config: show default `null` is coerced incorrectly to `false`...
Raphaël Gomès -
r51875:10e57e3f default
parent child Browse files
Show More
@@ -803,5 +803,9 b' mod tests {'
803 .expect("expected valid config");
803 .expect("expected valid config");
804 let ret = config.get_byte_size(b"cmdserver", b"max-log-size");
804 let ret = config.get_byte_size(b"cmdserver", b"max-log-size");
805 assert!(ret.is_ok(), "{:?}", ret);
805 assert!(ret.is_ok(), "{:?}", ret);
806
807 let ret = config.get_byte_size(b"ui", b"formatted");
808 // FIXME should be `is_none()`
809 assert!(ret.unwrap().is_some());
806 }
810 }
807 }
811 }
General Comments 0
You need to be logged in to leave comments. Login now