From 818b602c8859cd935083e183eb772becc26acfb3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 13 Dec 2018 17:56:35 +0100 Subject: bc: fix another thinko Signed-off-by: Denys Vlasenko --- testsuite/bc.tests | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuite/bc.tests') diff --git a/testsuite/bc.tests b/testsuite/bc.tests index 4f0d50f73..5e8c47c0f 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests @@ -16,6 +16,16 @@ testing "bc comment 2: /*/ is not a closed comment" \ "4\n" \ "" "1 /*/ + 2 */ + 3" +testing "bc backslash 1" \ + "bc" \ + "3\n" \ + "" "1 \\\\\n + 2" + +testing "bc string 1" \ + "bc" \ + "STR\n" \ + "" "\"STR\n\"" + tar xJf bc_large.tar.xz for f in bc*.bc; do -- cgit v1.2.3