rickywu-posh / php-sql-parser

Automatically exported from code.google.com/p/php-sql-parser
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

test suite does not work on windows #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. execute testsuite/tests-parser.php (on windows)

2. get warning failed to open stream: Invalid argument on file_get_contents call

What is the expected output? What do you see instead?

expected passing suite. See instead warnings and failed tests.

What version of the product are you using? On what operating system?

rev 235 on windows 7

Please provide any additional information below.

it works if this line :

    $path = explode("/", $path);

is replaced by :

    $path = explode(DIRECTORY_SEPARATOR, $path);

in the getExpectedValue() function in test-more.php

Original issue reported on code.google.com by nderm...@adequasys.com on 23 Apr 2012 at 4:24

GoogleCodeExporter commented 8 years ago
I have added patch from issue 48 to trunk.

Original comment by pho...@gmx.de on 26 Apr 2012 at 6:34