X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=unit_tests%2Fencode.php;h=7844ba5d8c1f32bb5e6c4fb219e8e1b3addf1a36;hb=HEAD;hp=3703c3e06321169e2abe21eaa41db471b763e3e9;hpb=cc3a6b27d3a041f1a8f351df2941b705191aadee;p=wfpl.git diff --git a/unit_tests/encode.php b/unit_tests/encode.php index 3703c3e..7844ba5 100644 --- a/unit_tests/encode.php +++ b/unit_tests/encode.php @@ -1,27 +1,17 @@ . +# This program is in the public domain within the United States. Additionally, +# we waive copyright and related rights in the work worldwide through the CC0 +# 1.0 Universal public domain dedication, which can be found at +# http://creativecommons.org/publicdomain/zero/1.0/ -# 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'); function _test_encode_pulled($field, $value, $correct) { unit_test_func('enc_pulled', $value, $field, $correct);