Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove some more slashes for 5.2.

  • Loading branch information...
commit 1ffd7c1a8fd9b3a41312730184522c974ae2b721 1 parent 0135107
@bobthecow authored
View
10 test/Mustache/Test/HelperCollectionTest.php
@@ -105,12 +105,12 @@ public function getInvalidHelperArguments() {
array(
'not helpers',
array(),
- '\InvalidArgumentException',
+ 'InvalidArgumentException',
),
array(
array(),
array('get' => array('foo')),
- '\InvalidArgumentException',
+ 'InvalidArgumentException',
),
array(
array('foo' => 'FOO'),
@@ -120,7 +120,7 @@ public function getInvalidHelperArguments() {
array(
array('foo' => 'FOO'),
array('get' => array('bar')),
- '\InvalidArgumentException',
+ 'InvalidArgumentException',
),
array(
array('foo' => 'FOO'),
@@ -144,12 +144,12 @@ public function getInvalidHelperArguments() {
'remove' => array('foo'),
'get' => array('foo'),
),
- '\InvalidArgumentException',
+ 'InvalidArgumentException',
),
array(
array(),
array('remove' => array('foo')),
- '\InvalidArgumentException',
+ 'InvalidArgumentException',
),
);
}
View
2  test/Mustache/Test/Loader/ArrayLoaderTest.php
@@ -39,7 +39,7 @@ public function testSetAndLoadTemplates() {
}
/**
- * @expectedException \InvalidArgumentException
+ * @expectedException InvalidArgumentException
*/
public function testMissingTemplatesThrowExceptions() {
$loader = new Mustache_Loader_ArrayLoader;
View
4 test/Mustache/Test/Loader/FilesystemLoaderTest.php
@@ -28,14 +28,14 @@ public function testLoadTemplates() {
}
/**
- * @expectedException \RuntimeException
+ * @expectedException RuntimeException
*/
public function testMissingBaseDirThrowsException() {
$loader = new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/not_a_directory');
}
/**
- * @expectedException \InvalidArgumentException
+ * @expectedException InvalidArgumentException
*/
public function testMissingTemplateThrowsException() {
$baseDir = realpath(dirname(__FILE__).'/../../../fixtures/templates');
View
6 test/Mustache/Test/MustacheTest.php
@@ -125,7 +125,7 @@ public function testCache() {
}
/**
- * @expectedException \InvalidArgumentException
+ * @expectedException InvalidArgumentException
* @dataProvider getBadEscapers
*/
public function testNonCallableEscapeThrowsException($escape) {
@@ -140,7 +140,7 @@ public function getBadEscapers() {
}
/**
- * @expectedException \RuntimeException
+ * @expectedException RuntimeException
*/
public function testImmutablePartialsLoadersThrowException() {
$mustache = new Mustache_Mustache(array(
@@ -201,7 +201,7 @@ public static function wrapWithUnderscores($text) {
}
/**
- * @expectedException \InvalidArgumentException
+ * @expectedException InvalidArgumentException
*/
public function testSetHelpersThrowsExceptions() {
$mustache = new Mustache_Mustache;
View
2  test/Mustache/Test/ParserTest.php
@@ -107,7 +107,7 @@ public function getTokenSets()
/**
* @dataProvider getBadParseTrees
- * @expectedException \LogicException
+ * @expectedException LogicException
*/
public function testParserThrowsExceptions($tokens) {
$parser = new Mustache_Parser;
Please sign in to comment.
Something went wrong with that request. Please try again.