Lines Matching refs:Ok
27 Ok((i, (key, val)))
39 Ok((i, (category, keys)))
69 Ok((i, o)) => println!("i: {:?} | o: {:?}", str::from_utf8(i), o),
73 assert_eq!(res, Ok((ini_without_category, "category")));
86 Ok((i, (o1, o2))) => println!("i: {:?} | o: ({:?},{:?})", str::from_utf8(i), o1, o2),
90 assert_eq!(res, Ok((ini_without_key_value, ("parameter", "value"))));
103 Ok((i, (o1, o2))) => println!("i: {:?} | o: ({:?},{:?})", str::from_utf8(i), o1, o2),
107 assert_eq!(res, Ok((ini_without_key_value, ("parameter", "value"))));
120 Ok((i, (o1, o2))) => println!("i: {:?} | o: ({:?},{:?})", str::from_utf8(i), o1, o2),
124 assert_eq!(res, Ok((ini_without_key_value, ("parameter", "value"))));
140 Ok((i, ref o)) => println!("i: {:?} | o: {:?}", str::from_utf8(i), o),
147 assert_eq!(res, Ok((ini_without_key_value, expected)));
165 Ok((i, ref o)) => println!("i: {:?} | o: {:?}", str::from_utf8(i), o),
172 assert_eq!(res, Ok((ini_after_parser, ("abcd", expected_h))));
193 Ok((i, ref o)) => println!("i: {:?} | o: {:?}", str::from_utf8(i), o),
206 assert_eq!(res, Ok((ini_after_parser, expected_h)));