diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-12-11 12:48:03 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-12-11 12:48:03 +0000 |
commit | 1092085402a2fbd867ee72099df61a4c4aebe902 (patch) | |
tree | c101550e965b2040c6d60968e1fe867fcf1165b0 | |
parent | 099ac1d2a5925dbd26e442ff6150f17abe66b984 (diff) | |
download | zetacomponents-graph-1092085402a2fbd867ee72099df61a4c4aebe902.zip zetacomponents-graph-1092085402a2fbd867ee72099df61a4c4aebe902.tar.gz |
- Use __toString call for testing, to work with PHP 5.1
-rw-r--r-- | tests/struct_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/struct_test.php b/tests/struct_test.php index a49e46d..d7876df 100644 --- a/tests/struct_test.php +++ b/tests/struct_test.php @@ -245,7 +245,7 @@ class ezcGraphStructTest extends ezcTestCase $this->assertSame( '( 2.00, 5.00 )', - (string) $coordinate, + $coordinate->__toString(), 'Wrong value when converting ezcGraphCoordinate to string.' ); } |