Skip to content

Commit 2be2693

Browse files
resetErrorHandler before ErrorHandlerTest exits
1 parent e40c5c0 commit 2be2693

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cppparser/test/unit/error-handler-test.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ TEST_CASE_METHOD(ErrorHandlerTest, "Error line and column")
5252
}();
5353

5454
CHECK(errHandlerCalled);
55+
parser.resetErrorHandler();
5556
// CHECK(exceptionThrown);
5657
(void) exceptionThrown;
5758
}

0 commit comments

Comments
 (0)