diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-03-15 11:26:32 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-15 11:26:32 -0700 |
commit | b852af0a6000efa6cf444a48b27eda7cd67b6761 (patch) | |
tree | 65cbfc4473ddcb10ae1e201480a6d06fe2c4abe3 /src/lib.rs | |
parent | ff3bb7d25505a565f8bdfd73b1105ae15a1e6f4b (diff) | |
download | milf-rs-b852af0a6000efa6cf444a48b27eda7cd67b6761.tar.gz milf-rs-b852af0a6000efa6cf444a48b27eda7cd67b6761.zip |
Improve test coverage
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -240,8 +240,8 @@ mod tests { let foo1 = value.lookup("values.1.foo").unwrap(); assert_eq!(foo1.as_str().unwrap(), "qux"); - let no_bar = value.lookup("test.bar"); - assert!(no_bar.is_none()); + assert!(value.lookup("test.bar").is_none()); + assert!(value.lookup("test.foo.bar").is_none()); } #[test] |