Last modified: 2006-11-04 18:01:33 UTC
The regression test suite is really useful, and only needs a minor enhancement to support parser functions.
Created attachment 2627 [details] patch to support parser functions This patch allows loading parser functions, i.e. !! functionhooks my-tag !! endfunctionhooks
This produces a PHP warning when run and there's no !!functionhooks section: Warning: Invalid argument supplied for foreach() in /opt/web/pages/trunk/maintenance/parserTests.inc on line 281 Make sure you test with error_reporting set to E_ALL.
Created attachment 2628 [details] update to supress warning OK, it's fixed, and tested with the default file and one that included the parser functions.
Thanks! Applied on trunk in r17410