Skip to content

Commit c4fc795

Browse files
committed
fix test
1 parent e54f082 commit c4fc795

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obj-filter",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "JavaScript Object content Filter. Support wildcard, nested, and filter function in template.",
55
"main": "index.js",
66
"scripts": {

t/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var exam_data = {
4444

4545

4646
var result = JSON.stringify( objectFilter(test_template, test_data), null, 4 );
47-
var exam = JSON.stringify( objectFilter(test_template, test_data), null, 4 );
47+
var exam = JSON.stringify( exam_data, null, 4 );
4848
//~ console.log( result );
4949
if (result === exam) {
5050
console.log('Test OK');

0 commit comments

Comments
 (0)