diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-01-16 02:04:11 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-01-16 02:04:11 +0400 |
commit | 825036f7b1623f0a3b419524b0e52a38143892f6 (patch) | |
tree | c516ba3dbd1e312aca724b06aa444c6bab4578d4 /tests | |
parent | 36fd057d957216ac642888671df6051653de7c61 (diff) |
Printing out command to hint that there is a .new file containing all expected results
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Plugins/UserAgentParserEnhancedTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/PHPUnit/Plugins/UserAgentParserEnhancedTest.php b/tests/PHPUnit/Plugins/UserAgentParserEnhancedTest.php index 426677888e..bca2a50de5 100644 --- a/tests/PHPUnit/Plugins/UserAgentParserEnhancedTest.php +++ b/tests/PHPUnit/Plugins/UserAgentParserEnhancedTest.php @@ -21,8 +21,9 @@ class UserAgentParserEnhancedTest extends PHPUnit_Framework_TestCase $processedPath = $fixturesPath . '.new'; file_put_contents($processedPath, $processed); $diffCommand = "diff"; -// $diffCommand = "meld"; - echo shell_exec("{$diffCommand} $fixturesPath $processedPath"); + $command = "{$diffCommand} $fixturesPath $processedPath"; + echo $command . "\n"; + echo shell_exec($command); echo "\nThe processed data was stored in: $processedPath ". "\n $ cp $processedPath $fixturesPath ". |