Permalink
Browse files

comments

  • Loading branch information...
1 parent 1c27e36 commit f512102ebc0a8485909fe476f12fa44c2cdd9270 @kalisjoshua committed Sep 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/expresso.js
View
@@ -39,7 +39,7 @@ module.exports = {
assert(!sherpa.valid.args([".", ""]), "last argument needs to be a callback function");
invalids
- // add in a unction as an invalid value for the first argument
+ // add in a string as an invalid value for the callback
.concat([""])
.forEach(function (val) {
assert(!sherpa.valid.args(".", val), "invalid values for callback should produce an error");
@@ -48,7 +48,7 @@ module.exports = {
,"sherpa.valid.root() should validate only strings": function () {
invalids
- // add in a unction as an invalid value for the first argument
+ // add in a function as an invalid value for the first argument
.concat([function () {}])
.forEach(function (val) {
assert(!sherpa.valid.root(val), "invalid values for root should produce an error");

0 comments on commit f512102

Please sign in to comment.