Merge pull request #440 from yitam/testCancel

fixed regex for expected error messages
This commit is contained in:
Jenny Tam 2017-06-16 13:03:30 -07:00 committed by GitHub
commit e3daa485f3
2 changed files with 2 additions and 2 deletions

View file

@ -46,4 +46,4 @@ echo "$count sales accounted for the first $$salesTotal in revenue.\n";
sqlsrv_cancel( $stmt);
?>
--EXPECT--
58 sales accounted for the first $104205.9607 in revenue.
57 sales accounted for the first $104171.7607 in revenue.

View file

@ -94,7 +94,7 @@ Repro();
--EXPECTREGEX--

Test begins...
\[Microsoft\](\[ODBC Driver 13 for SQL Server\]|\[ODBC Driver Manager\])([ ]{0,1}Function sequence error)
(.*\[Driver Manager\]|\[Microsoft\](\[ODBC Driver 13 for SQL Server\]|\[ODBC Driver Manager\]))([ ]{0,1}Function sequence error)
0
(HY010)