Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0f3f1d4

Browse files
committedMar 21, 2017
Update test assertions to make issues easier to debug.
1 parent abf5811 commit 0f3f1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/ABResultsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private function verifyAutobahnResults($fileName)
1717
if ($result->behavior === "INFORMATIONAL") {
1818
continue;
1919
}
20-
$this->assertTrue("OK" === $result->behavior || "NON-STRICT" === $result->behavior, "Autobahn test case " . $name . " in " . $fileName);
20+
$this->assertContains($result->behavior, ['OK', 'NON-STRICT'], "Autobahn test case " . $name . " in " . $fileName);
2121
}
2222
}
2323

0 commit comments

Comments
 (0)
Please sign in to comment.