Explorar o código

Fix expectation

Jordi Boggiano %!s(int64=5) %!d(string=hai) anos
pai
achega
f91859ceff

+ 1 - 1
tests/Composer/Test/EventDispatcher/EventDispatcherTest.php

@@ -452,7 +452,7 @@ class EventDispatcherTest extends TestCase
             ->with($this->equalTo('> echo foo'));
 
         $io->expects($this->once())
-            ->method('write')
+            ->method('writeRaw')
             ->with($this->equalTo('foo'.PHP_EOL), false);
 
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);