diff options
| author | Martin Haug <mhaug@live.de> | 2022-01-02 14:46:08 +0100 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2022-01-02 14:46:08 +0100 |
| commit | 98c96ba1cb8a46e327de313118e4ce1a84795ae9 (patch) | |
| tree | b27b8e5c8e0cc6ed530c67eeeca5019fa0e18986 /src/parse/tokens.rs | |
| parent | 5f114e18eb76a1937941b2ea64842b908c9ad89e (diff) | |
Fix parser / space / error bug
Diffstat (limited to 'src/parse/tokens.rs')
| -rw-r--r-- | src/parse/tokens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/tokens.rs b/src/parse/tokens.rs index 3a0ad1ad..7dfca2bf 100644 --- a/src/parse/tokens.rs +++ b/src/parse/tokens.rs @@ -727,6 +727,7 @@ mod tests { t!(Both["a1/"]: " \n" => Space(1)); t!(Both["a1/"]: " \n " => Space(1)); t!(Both["a1/"]: "\r\n" => Space(1)); + t!(Both["a1/"]: "\r\n\r" => Space(2)); t!(Both["a1/"]: " \n\t \n " => Space(2)); t!(Both["a1/"]: "\n\r" => Space(2)); t!(Both["a1/"]: " \r\r\n \x0D" => Space(3)); |
