diff --git a/tests/Mantis/ConfigParserTest.php b/tests/Mantis/ConfigParserTest.php index e39b5c5834..a6ea860601 100644 --- a/tests/Mantis/ConfigParserTest.php +++ b/tests/Mantis/ConfigParserTest.php @@ -227,6 +227,7 @@ private function addScalarCase( $p_string, $p_type ) { */ private function initScalarTestCases() { # Integer + $this->addScalarCase( '0', PHPUnit_Type::TYPE_INT ); $this->addScalarCase( '1', PHPUnit_Type::TYPE_INT ); $this->addScalarCase( " 1\n", PHPUnit_Type::TYPE_INT ); @@ -234,6 +235,9 @@ private function initScalarTestCases() { $this->addScalarCase( '1.1', PHPUnit_Type::TYPE_FLOAT ); # String + $this->addScalarCase( '""', PHPUnit_Type::TYPE_STRING ); + $this->addScalarCase( "''", PHPUnit_Type::TYPE_STRING ); + $this->addScalarCase( '" "', PHPUnit_Type::TYPE_STRING ); $this->addScalarCase( '"1"', PHPUnit_Type::TYPE_STRING ); $this->addScalarCase( "'1'", PHPUnit_Type::TYPE_STRING );