summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/matrix_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/matrix_test.php b/tests/matrix_test.php
index 7c0c810..9bf263a 100644
--- a/tests/matrix_test.php
+++ b/tests/matrix_test.php
@@ -322,6 +322,11 @@ class ezcGraphMatrixTest extends ezcTestCase
public function testMatrixToString()
{
+ if ( version_compare( phpversion(), '5.2', '<' ) )
+ {
+ $this->markTestSkipped( "This test requires PHP 5.2 or later." );
+ }
+
$matrix = new ezcGraphMatrix();
$this->assertEquals(
OpenPOWER on IntegriCloud