Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo from preg/ereg change
[wfpl.git]
/
unit_tests
/
encode.php
diff --git
a/unit_tests/encode.php
b/unit_tests/encode.php
index
615a898
..
9aec5b5
100644
(file)
--- a/
unit_tests/encode.php
+++ b/
unit_tests/encode.php
@@
-16,14
+16,13
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# 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);
}
function _test_encode_pulled($field, $value, $correct) {
unit_test_func('enc_pulled', $value, $field, $correct);
}