浏览代码

[DependencyInjection] fixed typo

Fabien Potencier 15 年之前
父节点
当前提交
8ed83f7035
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/Symfony/Components/DependencyInjection/ContainerTest.php

+ 1 - 1
tests/unit/Symfony/Components/DependencyInjection/ContainerTest.php

@@ -216,7 +216,7 @@ $t->is($sc->getFooBar_FooService(), $foo, '__call() finds services is the method
 try
 {
   $sc->getFooBar_Foo();
-  $t->pass('__call() throws a \RuntimeException exception if the method is not a service method');
+  $t->fail('__call() throws a \RuntimeException exception if the method is not a service method');
 }
 catch (\RuntimeException $e)
 {