X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=unit_tests%2Fencode.php;h=9aec5b5940f5589ecca88e4ebee313654e00630b;hb=062d46e16429f2e55573567518cb01c83b319ac4;hp=615a8982c40e23b91e4f27312b1567833365b6b7;hpb=f920d084acbf8c53c996a6fee26530a41e7e0559;p=wfpl.git diff --git a/unit_tests/encode.php b/unit_tests/encode.php index 615a898..9aec5b5 100644 --- a/unit_tests/encode.php +++ b/unit_tests/encode.php @@ -16,14 +16,13 @@ # along with this program. If not, see . -# This file contains tests for functions in code/wfpl/format.php +# This file contains tests for functions in wfpl/encode.php # -# See code/wfpl/test.php for details on how to run or create tests +# See wfpl/test.php for details on how to run or create tests -require_once('code/wfpl/encode.php'); +require_once(__DIR__.'/../'.'encode.php'); -# returns number of errors function _test_encode_pulled($field, $value, $correct) { unit_test_func('enc_pulled', $value, $field, $correct); }