Lines Matching refs:assert_parse
838 macro_rules! assert_parse( macro
855 assert_parse!(alpha1(a), Ok((empty, a))); in character()
1032 assert_parse!(hex_digit1(i), Ok((&b";"[..], &i[..i.len() - 1]))); in hex_digit_test()
1035 assert_parse!( in hex_digit_test()
1041 assert_parse!( in hex_digit_test()
1063 assert_parse!(oct_digit1(i), Ok((&b";"[..], &i[..i.len() - 1]))); in oct_digit_test()
1066 assert_parse!( in oct_digit_test()
1109 assert_parse!(output, Ok((&b""[..], &b"\r\n"[..]))); in check_windows_lineending()
1116 assert_parse!(output, Ok((&b""[..], &b"\n"[..]))); in check_unix_lineending()
1121 assert_parse!(crlf(&b"\r\na"[..]), Ok((&b"a"[..], &b"\r\n"[..]))); in cr_lf()
1122 assert_parse!( in cr_lf()
1126 assert_parse!( in cr_lf()
1131 assert_parse!(crlf("\r\na"), Ok(("a", "\r\n"))); in cr_lf()
1132 assert_parse!( in cr_lf()
1136 assert_parse!( in cr_lf()
1144 assert_parse!(line_ending(&b"\na"[..]), Ok((&b"a"[..], &b"\n"[..]))); in end_of_line()
1145 assert_parse!(line_ending(&b"\r\na"[..]), Ok((&b"a"[..], &b"\r\n"[..]))); in end_of_line()
1146 assert_parse!( in end_of_line()
1150 assert_parse!( in end_of_line()
1155 assert_parse!(line_ending("\na"), Ok(("a", "\n"))); in end_of_line()
1156 assert_parse!(line_ending("\r\na"), Ok(("a", "\r\n"))); in end_of_line()
1157 assert_parse!( in end_of_line()
1161 assert_parse!( in end_of_line()