From 261ad4d6efab9138efb4291704039a8046eae225 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 8 Jul 2023 22:03:15 -0700 Subject: [PATCH] Extend lone carriage returns test --- tests/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.rs b/tests/test.rs index 1aa3951..7792a02 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -739,8 +739,8 @@ fn whitespace() { let tokens = various_spaces.parse::().unwrap(); assert_eq!(tokens.into_iter().count(), 0); - let lone_carriage_return = " \r "; - lone_carriage_return.parse::().unwrap(); // FIXME + let lone_carriage_returns = " \r \r\r\n "; + lone_carriage_returns.parse::().unwrap(); } #[test]