Permalink
Browse files

turn addslases test back on (autoescape on by default)

  • Loading branch information...
1 parent e9a3747 commit abf0c34238b39cd255cd2263697a21441c7738dd @paularmstrong committed Oct 1, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/filters.test.js
View
10 tests/filters.test.js
@@ -19,11 +19,11 @@ exports.add = function (test) {
test.done();
};
-// exports.addslashes = function (test) {
-// testFilter(test, 'addslashes', { v: "\"Top O' the\\ mornin\"" }, "\\\"Top O\\' the\\\\ mornin\\\"", 'add slashes to string');
-// testFilter(test, 'addslashes', { v: ["\"Top", "O'", "the\\", "mornin\""] }, "\\\"Top,O\\',the\\\\,mornin\\\"", 'add slashes to array');
-// test.done();
-// };
+exports.addslashes = function (test) {
+ testFilter(test, 'addslashes', { v: "\"Top O' the\\ mornin\"" }, "\\"Top O\\' the\\\\ mornin\\"", 'add slashes to string');
+ testFilter(test, 'addslashes', { v: ["\"Top", "O'", "the\\", "mornin\""] }, "\\\"Top,O\\',the\\\\,mornin\\\"", 'add slashes to array');
+ test.done();
+};
exports.capitalize = function (test) {
testFilter(test, 'capitalize', { v: 'awesome sAuce.' }, 'Awesome sauce.');

0 comments on commit abf0c34

Please sign in to comment.