Skip to content

Commit

Permalink
Minor fix in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortines committed Dec 17, 2014
1 parent 3aaf53c commit a4e3c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.js
Expand Up @@ -802,7 +802,7 @@ var tests = [
format: ["a", "f"]
},
filter: function (movie) {
return movie && movie.title && movie.title[0] === 'H';
return movie && movie.title && movie.title.charAt(0) === 'H';
}
}).done(function () {
start();
Expand Down

0 comments on commit a4e3c14

Please sign in to comment.