From d6e71aff75b6d02af04eba78a082ad2c9b535eb7 Mon Sep 17 00:00:00 2001 From: Ingo Berg Date: Sun, 18 Oct 2015 10:38:33 +0200 Subject: [PATCH] added missing unit test for issue 63 --- Readme.txt | 4 +++- parser/mpTest.cpp | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Readme.txt b/Readme.txt index 6ea8e8f..a610c15 100644 --- a/Readme.txt +++ b/Readme.txt @@ -29,9 +29,11 @@ # # ######################################################################### -V4.0.1 (20151015) +V4.0.4 (20151015) ----------------- + Bugfixes: + - Issue 59, 60, 61, 63: Various segfaults/assertions for unexpected input - Issue 55, 56, 57, 58: Various issued related to a failure to detect missing brackets. diff --git a/parser/mpTest.cpp b/parser/mpTest.cpp index 036bc11..e3f0301 100644 --- a/parser/mpTest.cpp +++ b/parser/mpTest.cpp @@ -180,6 +180,9 @@ int ParserTester::TestIssueReports() // Not too happy about the undefined code, but better than a crash of an assertion at runtime iNumErr += ThrowTest(_T("{0<0?0,0:0<0}"), ecUNDEFINED); + // Github Issue 63 + iNumErr += ThrowTest(_T("0<0-0--eye()"), ecINVALID_NUMBER_OF_PARAMETERS); + Assessment(iNumErr); return iNumErr;