Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bluet committed Apr 28, 2017
1 parent e54f082 commit c4fc795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obj-filter",
"version": "1.0.0",
"version": "1.0.1",
"description": "JavaScript Object content Filter. Support wildcard, nested, and filter function in template.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion t/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var exam_data = {


var result = JSON.stringify( objectFilter(test_template, test_data), null, 4 );
var exam = JSON.stringify( objectFilter(test_template, test_data), null, 4 );
var exam = JSON.stringify( exam_data, null, 4 );
//~ console.log( result );
if (result === exam) {
console.log('Test OK');
Expand Down

0 comments on commit c4fc795

Please # to comment.