- Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi.
I've a test:
publicfunctiontestSomething(){$this->specify( 'expect output', function (){$this->expectOutputString('lorem ipsum'); (newTestedClass)->doSomething()} ); $this->specify( 'expect another output', function (){$this->expectOutputString('lorem ipsum'); (newTestedClass)->doSomethingElse()} )}The first specification passes.
Second specification is failing. It expect output to be "lorem ipsum 2", but gots "lorem ipsum 1lorem ipsum 2".
aheermohsinse
Metadata
Metadata
Assignees
Labels
No labels