LessFileCompilationTest: Check $file during the test, not in constructor
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 14:34:12 +0000 (16:34 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 14:46:51 +0000 (14:46 +0000)
commit805f6a43b8f9207728511fc623983e502247af80
treeed168b2c7c1b4917f54176b91d895030a3ef67a2
parent053b2036662af2347255e2f5e408939b9b783ad0
LessFileCompilationTest: Check $file during the test, not in constructor

This will result in a neat little test failure instead of an
unreadable thirty-line traceback when the test fails.

Change-Id: Ie0b564a95586d72eb730ab8a70a6175eb3ae743d
tests/phpunit/LessFileCompilationTest.php