mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
2415 lines
111 KiB
JSON
2415 lines
111 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-object-insert-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"patch": "insert",
|
|
"range": [
|
|
22,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
22,
|
|
22
|
|
],
|
|
"number": 2
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
|
"fe17bb20d5e0ada03f8b771d45dcc2d553584145"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index e69de29..fe17bb2 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -0,0 +1 @@",
|
|
"+{ \"key1\": \"value1\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "925b73e9fde76236d0b037d687edcc925a5cef9a..ba5e502469d76330934d3f544642168b9a8be48e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-replacement-insert-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
57,
|
|
63
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
65,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
57,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
55,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
55,
|
|
77
|
|
],
|
|
"number": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
79,
|
|
85
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
87,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
79,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
97
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
98
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
99
|
|
],
|
|
"number": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
22,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
22,
|
|
22
|
|
],
|
|
"number": 2
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
99,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
99,
|
|
99
|
|
],
|
|
"number": 4
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"fe17bb20d5e0ada03f8b771d45dcc2d553584145",
|
|
"741c3dc18ee0367453de24a06ac75106b0e303a2"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index fe17bb2..741c3dc 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1 +1,3 @@",
|
|
"+{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };",
|
|
"+{ \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "ba5e502469d76330934d3f544642168b9a8be48e..83daa3599047a89477381c86dcc84c654773699f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-delete-insert-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
57,
|
|
63
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
65,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
57,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
55,
|
|
77
|
|
],
|
|
"number": 2
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
24,
|
|
30
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
32,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
24,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
42
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
43
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
44
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
22,
|
|
44
|
|
],
|
|
"number": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
79,
|
|
85
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
87,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
79,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
97
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
98
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
99
|
|
],
|
|
"number": 3
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
52
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
54,
|
|
62
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
46,
|
|
62
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
64
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
65
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
66
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
44,
|
|
66
|
|
],
|
|
"number": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
99,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
99,
|
|
99
|
|
],
|
|
"number": 4
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
66,
|
|
66
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
66,
|
|
66
|
|
],
|
|
"number": 4
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"741c3dc18ee0367453de24a06ac75106b0e303a2",
|
|
"701239d4791062b1b1d6d512a409c2cbeae71cd0"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index 741c3dc..701239d 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1,3 +1,3 @@",
|
|
"-{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };",
|
|
"+{ \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "83daa3599047a89477381c86dcc84c654773699f..8b139d9d6374dd725f251e360d9e1b85d4b74527"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-replacement-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
24,
|
|
30
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
32,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
24,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
42
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
43
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
44
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
22,
|
|
44
|
|
],
|
|
"number": 2
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
57,
|
|
63
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
65,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
57,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
55,
|
|
77
|
|
],
|
|
"number": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
52
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
54,
|
|
62
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
46,
|
|
62
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
64
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
65
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
44,
|
|
66
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
44,
|
|
66
|
|
],
|
|
"number": 3
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
79,
|
|
85
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
87,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
79,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
97
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
98
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
99
|
|
],
|
|
"number": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
66,
|
|
66
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
66,
|
|
66
|
|
],
|
|
"number": 4
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
99,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
99,
|
|
99
|
|
],
|
|
"number": 4
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"701239d4791062b1b1d6d512a409c2cbeae71cd0",
|
|
"741c3dc18ee0367453de24a06ac75106b0e303a2"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index 701239d..741c3dc 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1,3 +1,3 @@",
|
|
"-{ \"key1\": \"value1\" };",
|
|
"+{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };",
|
|
" { \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "8b139d9d6374dd725f251e360d9e1b85d4b74527..f1d27fd392c566c9c5d26e2f239387a8079f149e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-delete-replacement-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
57,
|
|
63
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
65,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
57,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
55,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
55,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
55,
|
|
77
|
|
],
|
|
"number": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
79,
|
|
85
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
87,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
79,
|
|
95
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
97
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
98
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
77,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
99
|
|
],
|
|
"number": 3
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
24,
|
|
30
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
32,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
24,
|
|
40
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
42,
|
|
48
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
50,
|
|
58
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
42,
|
|
58
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
60,
|
|
66
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
68,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
60,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"patch": "insert",
|
|
"range": [
|
|
22,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
22,
|
|
77
|
|
],
|
|
"number": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
99,
|
|
99
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
99,
|
|
99
|
|
],
|
|
"number": 4
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
77,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
77
|
|
],
|
|
"number": 3
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"741c3dc18ee0367453de24a06ac75106b0e303a2",
|
|
"9e4827392b43125f3109e099c54540e927e83088"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index 741c3dc..9e48273 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1,3 +1,2 @@",
|
|
"-{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };",
|
|
"-{ \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\" };",
|
|
"+{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "f1d27fd392c566c9c5d26e2f239387a8079f149e..eefa16d6784883e1bcc084747522245c8875803d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-delete-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
20
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
0,
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
22
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
24,
|
|
30
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
32,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
24,
|
|
40
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
42,
|
|
48
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
50,
|
|
58
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
42,
|
|
58
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
60,
|
|
66
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
68,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
60,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
75
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
76
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
22,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
22,
|
|
77
|
|
],
|
|
"number": 2
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
77,
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
77,
|
|
77
|
|
],
|
|
"number": 3
|
|
},
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"range": [
|
|
55,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": false,
|
|
"range": [
|
|
55,
|
|
55
|
|
],
|
|
"number": 2
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"9e4827392b43125f3109e099c54540e927e83088",
|
|
"12d063ad120ecce823ab0d7a5bce83c59a522751"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index 9e48273..12d063a 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1,2 +1 @@",
|
|
"-{ \"key1\": \"value1\" };",
|
|
" { \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "eefa16d6784883e1bcc084747522245c8875803d..a9f043663130ffeeb0a948413011e9a72886d277"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-object-delete-rest-test",
|
|
"expectedResult": {
|
|
"rows": [
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [
|
|
{
|
|
"category": "ExpressionStatements",
|
|
"children": [
|
|
{
|
|
"category": "Object",
|
|
"children": [
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
10,
|
|
18
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
2,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
20,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
28,
|
|
36
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
20,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"category": "Pair",
|
|
"children": [
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
38,
|
|
44
|
|
]
|
|
},
|
|
{
|
|
"category": "StringLiteral",
|
|
"range": [
|
|
46,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
38,
|
|
51
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
53
|
|
]
|
|
}
|
|
],
|
|
"range": [
|
|
0,
|
|
54
|
|
]
|
|
}
|
|
],
|
|
"patch": "delete",
|
|
"range": [
|
|
0,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
0,
|
|
55
|
|
],
|
|
"number": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"terms": [
|
|
{
|
|
"category": "Program",
|
|
"children": [],
|
|
"patch": "delete",
|
|
"range": [
|
|
55,
|
|
55
|
|
]
|
|
}
|
|
],
|
|
"hasChanges": true,
|
|
"range": [
|
|
55,
|
|
55
|
|
],
|
|
"number": 2
|
|
}
|
|
]
|
|
],
|
|
"paths": [
|
|
"object.js",
|
|
"object.js"
|
|
],
|
|
"oids": [
|
|
"12d063ad120ecce823ab0d7a5bce83c59a522751",
|
|
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
|
|
]
|
|
},
|
|
"filePaths": [
|
|
"object.js"
|
|
],
|
|
"patch": [
|
|
"diff --git a/object.js b/object.js",
|
|
"index 12d063a..e69de29 100644",
|
|
"--- a/object.js",
|
|
"+++ b/object.js",
|
|
"@@ -1 +0,0 @@",
|
|
"-{ \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"3.0\" };"
|
|
],
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"shas": "a9f043663130ffeeb0a948413011e9a72886d277..193d1078ef93cde9a03725d1f4b6a42b856754d3"
|
|
}]
|