From 5a4b99938225f4b24e2879eb720ffd132385f0c7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 18 Oct 2020 02:48:42 +0300 Subject: [PATCH] more testing... Signed-off-by: Alex A. Naanou --- test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test.js b/test.js index 9827ce8..ce0bc67 100755 --- a/test.js +++ b/test.js @@ -712,6 +712,12 @@ text.setups({ 'leading whitespace': data({ input: '\n\t\tabc', all: 'abc'}), + 'trailing whitespace': data({ + input: 'abc\n\t \n', + all: 'abc'}), + 'leading and trailing whitespace': data({ + input: '\n\t \tabc\n\t \n', + all: 'abc'}), // NOTE: there is no way to know what is the indent of 'a' // relative to the rest of the text...