Adapt test: single quoted

This commit is contained in:
Matthias Beyer 2016-01-29 20:51:15 +01:00
parent 448c69891e
commit db38713977

View file

@ -75,8 +75,7 @@ mod test {
#[test]
fn test_single_quoted() {
let s = String::from("foo='bar'").into_kv().unwrap();
assert_eq!(KeyValue::new(String::from("foo"), String::from("bar")), s);
assert!(String::from("foo='bar'").into_kv().is_none());
}
#[test]