Check html validity asynchronously.
[platal.git] / ut / enginetest.php
index 414588b..b8e1122 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -127,7 +127,7 @@ class EngineTest extends PlTestCase
         $tree->addChild(array('test', 'hook'), new PlStdHook(array('EngineTest', 'barCallback')));
 
         $page = new TestPage();
-        $p = split('/', $path);
+        $p = explode('/', $path);
         list($hook, $matched, $remain, $aliased) = $tree->findChild($p);
         $matched = join('/', $matched);
         $this->assertEquals($expmatched, $matched);