From b8445fe8a77e2e85c37b0509240dff66cb9bc664 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sat, 11 Feb 2017 13:51:54 -0500 Subject: [PATCH] Remove debug code --- tests/bootstrap.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3ca6e50..865b15e 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -17,19 +17,6 @@ trait TestingHelpers { $this->expectException($class); $this->expectExceptionCode($code); } - - function assertExc(string $msg, string $prefix = "", string $type = "Exception") { - $class = NS_BASE . ($prefix !== "" ? str_replace("/", "\\", $prefix) . "\\" : "") . $type; - $msgID = ($prefix !== "" ? $prefix . "/" : "") . $type. ".$msg"; - if(array_key_exists($msgID, Exception::CODES)) { - $code = Exception::CODES[$msgID]; - } else { - $code = 0; - } - echo $class."\n"; - $this->expectException($class); - $this->expectExceptionCode($code); - } } trait LanguageTestingHelpers {