Fixed config tests after Config::get_option API change.

This commit is contained in:
Aaron Weiss 2018-02-21 12:23:54 +01:00
parent 7d744529e6
commit 4509336d74
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -571,6 +571,7 @@ mod test {
}, },
..Default::default() ..Default::default()
}; };
assert_eq!(cfg.get_option("testing"), "test"); assert_eq!(cfg.get_option("testing"), Some("test"));
assert_eq!(cfg.get_option("not"), None);
} }
} }