From d6bd52ad599b20321caf861e62a1089d286b00c5 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sat, 22 Sep 2018 01:43:24 +0200 Subject: [PATCH] Add unit tests --- test/units/parsing/test_splitter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/units/parsing/test_splitter.py b/test/units/parsing/test_splitter.py index d820117291..a37de0f930 100644 --- a/test/units/parsing/test_splitter.py +++ b/test/units/parsing/test_splitter.py @@ -91,6 +91,9 @@ SPLIT_DATA = ( (u'a={{ foo | some_filter(\' \', " ") }} b=bar', [u'a={{ foo | some_filter(\' \', " ") }}', u'b=bar'], {u'a': u'{{ foo | some_filter(\' \', " ") }}', u'b': u'bar'}), + (u'One\n Two\n Three\n', + [u'One\n ', u'Two\n ', u'Three\n'], + {u'_raw_params': u'One\n Two\n Three\n'}), ) SPLIT_ARGS = ((test[0], test[1]) for test in SPLIT_DATA)