1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

bump tests

This commit is contained in:
joshvera 2017-01-17 15:26:07 -05:00
parent c3201ed689
commit 591c8b986e
55 changed files with 2018 additions and 1859 deletions

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "fd32c102b131d77c141df7ebfbefca3921214b64..e30752695fa0b35a2e478cc3786a3c02fa7e7e0c"
"shas": "3c029fc4f96030d7f8c57c5253233ec8cead1b0a..bf90b3f8d04380268e6f334a9fd9e1a0488c5ffb"
}
,{
"testCaseDescription": "go-array-types-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index 7905807..3f73aea 100644",
"index 79058077..3f73aea0 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e30752695fa0b35a2e478cc3786a3c02fa7e7e0c..a7cef6f003db51493f4de33c5eca5efe4f454bbb"
"shas": "bf90b3f8d04380268e6f334a9fd9e1a0488c5ffb..d635251367200ffc97a44a95198f391356306f69"
}
,{
"testCaseDescription": "go-array-types-replacement-test",
@ -113,7 +113,7 @@
}
]
},
"summary": "Replaced '2' with '1' in the a type declaration of the 'main' function"
"summary": "Replaced '2' with '1' in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -140,7 +140,7 @@
}
]
},
"summary": "Replaced '2' with '1' in the a type declaration of the 'main' function"
"summary": "Replaced '2' with '1' in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -167,7 +167,7 @@
}
]
},
"summary": "Replaced the 'x' identifier with the 'y' identifier in the a type declaration of the 'main' function"
"summary": "Replaced the 'x' identifier with the 'y' identifier in the 'a' type declaration of the 'main' function"
}
]
},
@ -178,7 +178,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index 3f73aea..4978312 100644",
"index 3f73aea0..49783126 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -1,5 +1,5 @@",
@ -190,7 +190,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a7cef6f003db51493f4de33c5eca5efe4f454bbb..fc48ee22d372cfa668f0c449eebbb4ad3c522aeb"
"shas": "d635251367200ffc97a44a95198f391356306f69..b88ad93febde1566d0530cc39f7a4b69063c0bd0"
}
,{
"testCaseDescription": "go-array-types-delete-replacement-test",
@ -222,7 +222,7 @@
}
]
},
"summary": "Replaced '1' with '2' in the a type declaration of the 'main' function"
"summary": "Replaced '1' with '2' in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -249,7 +249,7 @@
}
]
},
"summary": "Replaced '1' with '2' in the a type declaration of the 'main' function"
"summary": "Replaced '1' with '2' in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -276,7 +276,7 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'x' identifier in the a type declaration of the 'main' function"
"summary": "Replaced the 'y' identifier with the 'x' identifier in the 'a' type declaration of the 'main' function"
}
]
},
@ -287,7 +287,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index 4978312..3f73aea 100644",
"index 49783126..3f73aea0 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -1,5 +1,5 @@",
@ -299,7 +299,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "fc48ee22d372cfa668f0c449eebbb4ad3c522aeb..47e64d7adab42105f9e5272a61b4f96dbf3f712a"
"shas": "b88ad93febde1566d0530cc39f7a4b69063c0bd0..970825f940e00c7ffcdc92e4b9f42f88a952c7a6"
}
,{
"testCaseDescription": "go-array-types-delete-insert-test",
@ -330,7 +330,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index 3f73aea..7905807 100644",
"index 3f73aea0..79058077 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -1,5 +1,5 @@",
@ -342,7 +342,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "47e64d7adab42105f9e5272a61b4f96dbf3f712a..51234381bb2cd7ff4ec8e18f890cce5ebb280030"
"shas": "970825f940e00c7ffcdc92e4b9f42f88a952c7a6..f50f7c82e8763d9f21e1909fefe70398e837b6d4"
}
,{
"testCaseDescription": "go-array-types-teardown-test",
@ -373,7 +373,7 @@
],
"patch": [
"diff --git a/array-types.go b/array-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/array-types.go",
"+++ b/array-types.go",
"@@ -1,5 +0,0 @@",
@ -384,5 +384,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "51234381bb2cd7ff4ec8e18f890cce5ebb280030..ffedb66ffa318010e511fa2a7f508d94c0220d98"
"shas": "f50f7c82e8763d9f21e1909fefe70398e837b6d4..5deab0cac5ff307e66dafda450d81397a6d8b7d9"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "5227190eb44ddd86d3eb4410380f4accfa52c94a..1f2b3e5cd31eaaaf2e1266e56f8831f3bf3a3060"
"shas": "5782bb004896da69fd5de9c2a9727f490c1cfc71..2a90c301192509d1973c909080ffe5bbce40fe2f"
}
,{
"testCaseDescription": "go-array-with-implicit-length-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index 7905807..a53dc8c 100644",
"index 79058077..a53dc8c5 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1f2b3e5cd31eaaaf2e1266e56f8831f3bf3a3060..e6d182dd56724a2fd405ffd71b370bf2832519d2"
"shas": "2a90c301192509d1973c909080ffe5bbce40fe2f..968422416eec8d00a4ee084e62c6e574a599fc66"
}
,{
"testCaseDescription": "go-array-with-implicit-length-replacement-test",
@ -184,7 +184,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index a53dc8c..e9e3d08 100644",
"index a53dc8c5..e9e3d08f 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -1,5 +1,5 @@",
@ -196,7 +196,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e6d182dd56724a2fd405ffd71b370bf2832519d2..382a50227fc5f1b12331ab5d4232a1731f313491"
"shas": "968422416eec8d00a4ee084e62c6e574a599fc66..4190aa035c2af33a3efc88694f90579b31f13c13"
}
,{
"testCaseDescription": "go-array-with-implicit-length-delete-replacement-test",
@ -302,7 +302,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index e9e3d08..a53dc8c 100644",
"index e9e3d08f..a53dc8c5 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -1,5 +1,5 @@",
@ -314,7 +314,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "382a50227fc5f1b12331ab5d4232a1731f313491..190ffc6b0a8f43da2d3581593448953279556b72"
"shas": "4190aa035c2af33a3efc88694f90579b31f13c13..ca6494764536dd14341a715ec068e441c0ec28e8"
}
,{
"testCaseDescription": "go-array-with-implicit-length-delete-insert-test",
@ -345,7 +345,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index a53dc8c..7905807 100644",
"index a53dc8c5..79058077 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -1,5 +1,5 @@",
@ -357,7 +357,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "190ffc6b0a8f43da2d3581593448953279556b72..2cf0dfab16568eb6f1f8086b102c7e15811dc0bf"
"shas": "ca6494764536dd14341a715ec068e441c0ec28e8..d4eac5ea74c1adcadde6486b0b13c5226c41094b"
}
,{
"testCaseDescription": "go-array-with-implicit-length-teardown-test",
@ -388,7 +388,7 @@
],
"patch": [
"diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/array-with-implicit-length.go",
"+++ b/array-with-implicit-length.go",
"@@ -1,5 +0,0 @@",
@ -399,5 +399,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "2cf0dfab16568eb6f1f8086b102c7e15811dc0bf..1a4aae0bafb6ad2a25b31b59421b337616dcbfd9"
"shas": "d4eac5ea74c1adcadde6486b0b13c5226c41094b..2e644ec4917f498d0e54dceebba8fc96f3610076"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "efd0c3cb1a849ee204223f8b2e77cc03fabdd406..743091a8fdbc838ff81ce271132dda84db44ecab"
"shas": "20fa55e7535a6b1108c324529279f2e8b490ca41..3dd801eb58db16a0c0ad78cdc49ac1c50256f041"
}
,{
"testCaseDescription": "go-assignment-statements-insert-test",
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index 7905807..072782b 100644",
"index 79058077..072782b1 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -1,5 +1,8 @@",
@ -144,7 +144,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "743091a8fdbc838ff81ce271132dda84db44ecab..c392434eb0cc3a33cce287ced505b978238b07a1"
"shas": "3dd801eb58db16a0c0ad78cdc49ac1c50256f041..c1749b81e7947fa1a2a018431e837bf244933ccc"
}
,{
"testCaseDescription": "go-assignment-statements-replacement-test",
@ -207,57 +207,63 @@
},
{
"span": {
"replace": [
{
"start": [
6,
1
],
"end": [
6,
2
]
},
{
"start": [
6,
1
],
"end": [
6,
2
]
}
]
"insert": {
"start": [
6,
1
],
"end": [
6,
7
]
}
},
"summary": "Replaced the 'd' identifier with the 'z' identifier in the z var assignment of the 'main' function"
"summary": "Added the 'z' var assignment in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
7,
1
],
"end": [
7,
2
]
},
{
"start": [
7,
1
],
"end": [
7,
2
]
}
]
"insert": {
"start": [
7,
1
],
"end": [
7,
7
]
}
},
"summary": "Replaced the 'e' identifier with the 'h' identifier in the h var assignment of the 'main' function"
"summary": "Added the 'h' var assignment in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
1
],
"end": [
6,
7
]
}
},
"summary": "Deleted the 'd' var assignment in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
1
],
"end": [
7,
7
]
}
},
"summary": "Deleted the 'e' var assignment in the main function of the 'main' module"
}
]
},
@ -268,7 +274,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index 072782b..2e6b444 100644",
"index 072782b1..2e6b444c 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -1,8 +1,8 @@",
@ -286,7 +292,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c392434eb0cc3a33cce287ced505b978238b07a1..d393634ed2d19d522e50e052aa45fa6583ed713c"
"shas": "c1749b81e7947fa1a2a018431e837bf244933ccc..183f8301622c6ef185d5047e7f120a789b8dc8b1"
}
,{
"testCaseDescription": "go-assignment-statements-delete-replacement-test",
@ -349,41 +355,29 @@
},
{
"span": {
"replace": [
{
"start": [
6,
1
],
"end": [
6,
2
]
},
{
"start": [
6,
1
],
"end": [
6,
2
]
}
]
"insert": {
"start": [
6,
1
],
"end": [
6,
7
]
}
},
"summary": "Replaced the 'z' identifier with the 'd' identifier in the d var assignment of the 'main' function"
"summary": "Added the 'd' var assignment in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
7,
6,
1
],
"end": [
7,
6,
2
]
},
@ -399,7 +393,49 @@
}
]
},
"summary": "Replaced the 'h' identifier with the 'e' identifier in the e var assignment of the 'main' function"
"summary": "Replaced the 'z' identifier with the 'e' identifier in the e var assignment of the 'main' function"
},
{
"span": {
"replace": [
{
"start": [
6,
6
],
"end": [
6,
7
]
},
{
"start": [
7,
6
],
"end": [
7,
7
]
}
]
},
"summary": "Replaced '3' with '1' in the e var assignment of the 'main' function"
},
{
"span": {
"delete": {
"start": [
7,
1
],
"end": [
7,
7
]
}
},
"summary": "Deleted the 'h' var assignment in the main function of the 'main' module"
}
]
},
@ -410,7 +446,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index 2e6b444..072782b 100644",
"index 2e6b444c..072782b1 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -1,8 +1,8 @@",
@ -428,7 +464,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d393634ed2d19d522e50e052aa45fa6583ed713c..70a21ee21e40b085c07e62e8472d2928d6c1ccc9"
"shas": "183f8301622c6ef185d5047e7f120a789b8dc8b1..a56b78cc0505be75ec9ed461dc8c1f8d2dddb24e"
}
,{
"testCaseDescription": "go-assignment-statements-delete-insert-test",
@ -519,7 +555,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index 072782b..7905807 100644",
"index 072782b1..79058077 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -1,8 +1,5 @@",
@ -534,7 +570,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "70a21ee21e40b085c07e62e8472d2928d6c1ccc9..ae7cc73c3d003fa5e572468f0848343c581c371e"
"shas": "a56b78cc0505be75ec9ed461dc8c1f8d2dddb24e..488ae20a83705cfe2cf4c8bd37a6a4526d625ccb"
}
,{
"testCaseDescription": "go-assignment-statements-teardown-test",
@ -565,7 +601,7 @@
],
"patch": [
"diff --git a/assignment-statements.go b/assignment-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/assignment-statements.go",
"+++ b/assignment-statements.go",
"@@ -1,5 +0,0 @@",
@ -576,5 +612,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "ae7cc73c3d003fa5e572468f0848343c581c371e..dfd75d49293a0503061ad3227ada1bffe53a1801"
"shas": "488ae20a83705cfe2cf4c8bd37a6a4526d625ccb..bff82271f316995218c2faaeaf34916b251bd406"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "a6d6b87e3b8498575c6a100bd3722f8ce2d30eee..ecb64feb9685dca8e3a1a2caf500a07d110629f9"
"shas": "2b9cb611dc3d121922e8078cb5a74bac1146c4ea..64ddded97ef9c2bd0a64b0c3843eb4163bc9c395"
}
,{
"testCaseDescription": "go-call-expressions-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index 7905807..72918e5 100644",
"index 79058077..72918e59 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -1,5 +1,7 @@",
@ -113,7 +113,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ecb64feb9685dca8e3a1a2caf500a07d110629f9..e679eabd7abb1171b86f17c7118a30a60ac9401e"
"shas": "64ddded97ef9c2bd0a64b0c3843eb4163bc9c395..4f359f278ca887ebf0280420ced3f7cc6b13d286"
}
,{
"testCaseDescription": "go-call-expressions-replacement-test",
@ -122,84 +122,93 @@
"call-expressions.go": [
{
"span": {
"replace": [
{
"start": [
4,
1
],
"end": [
4,
2
]
},
{
"start": [
4,
1
],
"end": [
4,
2
]
}
]
"insert": {
"start": [
4,
1
],
"end": [
4,
11
]
}
},
"summary": "Replaced the 'x' identifier with the 'a' identifier in the a(b, c) function call of the 'main' function"
"summary": "Added the 'a(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
5,
1
],
"end": [
5,
2
]
},
{
"start": [
5,
1
],
"end": [
5,
2
]
}
]
"insert": {
"start": [
5,
1
],
"end": [
5,
9
]
}
},
"summary": "Replaced the 'y' identifier with the 'b' identifier in the b(b, c) function call of the 'main' function"
"summary": "Added the 'b(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
6,
1
],
"end": [
6,
2
]
},
{
"start": [
6,
1
],
"end": [
6,
2
]
}
]
"insert": {
"start": [
6,
1
],
"end": [
6,
11
]
}
},
"summary": "Replaced the 'z' identifier with the 'c' identifier in the c(b, c) function call of the 'main' function"
"summary": "Added the 'c(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
1
],
"end": [
4,
11
]
}
},
"summary": "Deleted the 'x(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
1
],
"end": [
5,
9
]
}
},
"summary": "Deleted the 'y(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
1
],
"end": [
6,
11
]
}
},
"summary": "Deleted the 'z(b, c)' function call in the main function of the 'main' module"
}
]
},
@ -210,7 +219,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index 72918e5..2d5e765 100644",
"index 72918e59..2d5e765c 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -1,7 +1,7 @@",
@ -226,7 +235,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e679eabd7abb1171b86f17c7118a30a60ac9401e..17af9b349ce778f930c9566cdec742dc1477bb4b"
"shas": "4f359f278ca887ebf0280420ced3f7cc6b13d286..5f6c1d63fbd8d56f69ab673686aff144e1b3bba9"
}
,{
"testCaseDescription": "go-call-expressions-delete-replacement-test",
@ -235,84 +244,93 @@
"call-expressions.go": [
{
"span": {
"replace": [
{
"start": [
4,
1
],
"end": [
4,
2
]
},
{
"start": [
4,
1
],
"end": [
4,
2
]
}
]
"insert": {
"start": [
4,
1
],
"end": [
4,
11
]
}
},
"summary": "Replaced the 'a' identifier with the 'x' identifier in the x(b, c) function call of the 'main' function"
"summary": "Added the 'x(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
5,
1
],
"end": [
5,
2
]
},
{
"start": [
5,
1
],
"end": [
5,
2
]
}
]
"insert": {
"start": [
5,
1
],
"end": [
5,
9
]
}
},
"summary": "Replaced the 'b' identifier with the 'y' identifier in the y(b, c) function call of the 'main' function"
"summary": "Added the 'y(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
6,
1
],
"end": [
6,
2
]
},
{
"start": [
6,
1
],
"end": [
6,
2
]
}
]
"insert": {
"start": [
6,
1
],
"end": [
6,
11
]
}
},
"summary": "Replaced the 'c' identifier with the 'z' identifier in the z(b, c) function call of the 'main' function"
"summary": "Added the 'z(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
1
],
"end": [
4,
11
]
}
},
"summary": "Deleted the 'a(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
1
],
"end": [
5,
9
]
}
},
"summary": "Deleted the 'b(b, c)' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
1
],
"end": [
6,
11
]
}
},
"summary": "Deleted the 'c(b, c)' function call in the main function of the 'main' module"
}
]
},
@ -323,7 +341,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index 2d5e765..72918e5 100644",
"index 2d5e765c..72918e59 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -1,7 +1,7 @@",
@ -339,7 +357,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "17af9b349ce778f930c9566cdec742dc1477bb4b..4666ff91d68871a70e66dc234d80bbbe74ba5737"
"shas": "5f6c1d63fbd8d56f69ab673686aff144e1b3bba9..e3de42aa6294c0f1cd6f90d2e2dd99fdf5856276"
}
,{
"testCaseDescription": "go-call-expressions-delete-insert-test",
@ -400,7 +418,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index 72918e5..7905807 100644",
"index 72918e59..79058077 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -1,7 +1,5 @@",
@ -414,7 +432,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "4666ff91d68871a70e66dc234d80bbbe74ba5737..22508dbaaf87e757f0d1383438121d63bbfb184d"
"shas": "e3de42aa6294c0f1cd6f90d2e2dd99fdf5856276..2df7667af5e4b68fe583ad1cfdf162bed76802d6"
}
,{
"testCaseDescription": "go-call-expressions-teardown-test",
@ -445,7 +463,7 @@
],
"patch": [
"diff --git a/call-expressions.go b/call-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/call-expressions.go",
"+++ b/call-expressions.go",
"@@ -1,5 +0,0 @@",
@ -456,5 +474,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "22508dbaaf87e757f0d1383438121d63bbfb184d..3e502021cd3d8c7e11e89ade83196888145fb71f"
"shas": "2df7667af5e4b68fe583ad1cfdf162bed76802d6..203cd18e8dc697c2d27de5e9d29c1ee480c444d2"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "d0e8fa28dbe14b07ba2bc419936874f024f1fef7..478fdd860c357da4b26d73db41c4fb84f86d80a6"
"shas": "cfba7fb4dab92b06358eb946d4630dd6acfe18d9..451a8289590a253ff509d2ed3a67dd33e25a9262"
}
,{
"testCaseDescription": "go-case-statements-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index 7905807..0b4c956 100644",
"index 79058077..0b4c9561 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "478fdd860c357da4b26d73db41c4fb84f86d80a6..949cdde853e517f65a9884869e47a0ebec024aa8"
"shas": "451a8289590a253ff509d2ed3a67dd33e25a9262..919dc09aed6d67c9ab6013861f5ff4946864993c"
}
,{
"testCaseDescription": "go-case-statements-replacement-test",
@ -112,7 +112,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index 0b4c956..27b7090 100644",
"index 0b4c9561..27b70908 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -1,5 +1,5 @@",
@ -124,7 +124,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "949cdde853e517f65a9884869e47a0ebec024aa8..949ed3ec80654e3e6951e7d0ce54948031906998"
"shas": "919dc09aed6d67c9ab6013861f5ff4946864993c..54e6684b737875f1e20739c50e6fb92f71be2676"
}
,{
"testCaseDescription": "go-case-statements-delete-replacement-test",
@ -155,7 +155,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index 27b7090..0b4c956 100644",
"index 27b70908..0b4c9561 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -1,5 +1,5 @@",
@ -167,7 +167,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "949ed3ec80654e3e6951e7d0ce54948031906998..3bc74da6300fd402d11085883b3e03c22755a37c"
"shas": "54e6684b737875f1e20739c50e6fb92f71be2676..a4b8b9dba91cdd1e300768457293cc1a071be0c6"
}
,{
"testCaseDescription": "go-case-statements-delete-insert-test",
@ -198,7 +198,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index 0b4c956..7905807 100644",
"index 0b4c9561..79058077 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -1,5 +1,5 @@",
@ -210,7 +210,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3bc74da6300fd402d11085883b3e03c22755a37c..c92bacdd02c4d3844767fab6e7cd76df1506bbab"
"shas": "a4b8b9dba91cdd1e300768457293cc1a071be0c6..28f4050ec670462e5290e98a86f2ecadf7f55059"
}
,{
"testCaseDescription": "go-case-statements-teardown-test",
@ -241,7 +241,7 @@
],
"patch": [
"diff --git a/case-statements.go b/case-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/case-statements.go",
"+++ b/case-statements.go",
"@@ -1,5 +0,0 @@",
@ -252,5 +252,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "c92bacdd02c4d3844767fab6e7cd76df1506bbab..0243cec6939b070fc3a64358c1e332185a7d1774"
"shas": "28f4050ec670462e5290e98a86f2ecadf7f55059..a086622a7f75f3e4448865cd132e37b251f1e189"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "af3fb53612885aced55d8501c39d0e09f05a904c..0864b46f6889dfe97861651643c2bf7c1e2291e7"
"shas": "93550be30dcd752a72d39e8fcb3ad392ffd0f02b..1338c03463c8b881089dd4bd9e1fbf50ed218376"
}
,{
"testCaseDescription": "go-channel-types-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index 7905807..1c10bf6 100644",
"index 79058077..1c10bf6f 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -1,5 +1,9 @@",
@ -115,7 +115,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "0864b46f6889dfe97861651643c2bf7c1e2291e7..042d5ab1d05f6ca975465fca239496bfd54122c6"
"shas": "1338c03463c8b881089dd4bd9e1fbf50ed218376..417aa29be271bd7650c1cf51a235fb3758b8feb4"
}
,{
"testCaseDescription": "go-channel-types-replacement-test",
@ -124,57 +124,18 @@
"channel-types.go": [
{
"span": {
"replace": [
{
"start": [
5,
1
],
"end": [
5,
3
]
},
{
"start": [
5,
1
],
"end": [
5,
3
]
}
]
"insert": {
"start": [
5,
1
],
"end": [
5,
22
]
}
},
"summary": "Replaced the 'c1' identifier with the 'c2' identifier in the c2 type declaration of the 'main' function"
},
{
"span": {
"replace": [
{
"start": [
5,
16
],
"end": [
5,
19
]
},
{
"start": [
5,
16
],
"end": [
5,
22
]
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the c2 type declaration of the 'main' function"
"summary": "Added the 'c2' type declaration in the main function of the 'main' module"
},
{
"span": {
@ -193,18 +154,57 @@
},
{
"span": {
"insert": {
"start": [
7,
1
],
"end": [
7,
24
]
}
"replace": [
{
"start": [
5,
1
],
"end": [
5,
3
]
},
{
"start": [
7,
1
],
"end": [
7,
3
]
}
]
},
"summary": "Added the 'c4' type declaration in the main function of the 'main' module"
"summary": "Replaced the 'c1' identifier with the 'c4' identifier in the 'c4' type declaration of the 'main' function"
},
{
"span": {
"replace": [
{
"start": [
5,
16
],
"end": [
5,
19
]
},
{
"start": [
7,
18
],
"end": [
7,
24
]
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the <-chan string channel type of the 'main' function"
},
{
"span": {
@ -245,7 +245,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index 1c10bf6..196a792 100644",
"index 1c10bf6f..196a7928 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -2,8 +2,8 @@ package main",
@ -262,7 +262,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "042d5ab1d05f6ca975465fca239496bfd54122c6..07e9422db7119cd8d76ee59e49b4a1d50d47b354"
"shas": "417aa29be271bd7650c1cf51a235fb3758b8feb4..4eaa525b58773ac51271119b858f959a75b1f6a1"
}
,{
"testCaseDescription": "go-channel-types-delete-replacement-test",
@ -286,63 +286,57 @@
},
{
"span": {
"insert": {
"start": [
6,
18
],
"end": [
6,
26
]
}
"replace": [
{
"start": [
5,
11
],
"end": [
5,
22
]
},
{
"start": [
6,
11
],
"end": [
6,
26
]
}
]
},
"summary": "Added the 'struct{}' struct in the c2 type declaration of the 'main' function"
"summary": "Replaced the 'chan string' channel type with the 'chan<- struct{}' channel type in the chan<- chan<- struct{} channel type of the 'main' function"
},
{
"span": {
"delete": {
"start": [
5,
16
],
"end": [
5,
22
]
}
"replace": [
{
"start": [
6,
11
],
"end": [
6,
26
]
},
{
"start": [
7,
11
],
"end": [
7,
21
]
}
]
},
"summary": "Deleted the 'string' identifier in the c2 type declaration of the 'main' function"
},
{
"span": {
"insert": {
"start": [
7,
18
],
"end": [
7,
21
]
}
},
"summary": "Added the 'int' identifier in the c3 type declaration of the 'main' function"
},
{
"span": {
"delete": {
"start": [
6,
18
],
"end": [
6,
26
]
}
},
"summary": "Deleted the 'struct{}' struct in the c3 type declaration of the 'main' function"
"summary": "Replaced the 'chan<- struct{}' channel type with the '<-chan int' channel type in the chan<- <-chan int channel type of the 'main' function"
},
{
"span": {
@ -368,7 +362,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index 196a792..1c10bf6 100644",
"index 196a7928..1c10bf6f 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -2,8 +2,8 @@ package main",
@ -385,7 +379,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "07e9422db7119cd8d76ee59e49b4a1d50d47b354..e5c9311e6adabe4ca45dfb23ca48e05a2babace5"
"shas": "4eaa525b58773ac51271119b858f959a75b1f6a1..4a7ff6b0b7587d3376a812761094fc802a885142"
}
,{
"testCaseDescription": "go-channel-types-delete-insert-test",
@ -446,7 +440,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index 1c10bf6..7905807 100644",
"index 1c10bf6f..79058077 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -1,9 +1,5 @@",
@ -462,7 +456,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e5c9311e6adabe4ca45dfb23ca48e05a2babace5..7dae13d432ba17af6e725cc3aa16c02a0d0d5978"
"shas": "4a7ff6b0b7587d3376a812761094fc802a885142..11e52c6e29023eea88be4ae0c224cce5f5a1ef00"
}
,{
"testCaseDescription": "go-channel-types-teardown-test",
@ -493,7 +487,7 @@
],
"patch": [
"diff --git a/channel-types.go b/channel-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/channel-types.go",
"+++ b/channel-types.go",
"@@ -1,5 +0,0 @@",
@ -504,5 +498,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7dae13d432ba17af6e725cc3aa16c02a0d0d5978..413c986cf068b52f7e7690feecb72a24b039a0f3"
"shas": "11e52c6e29023eea88be4ae0c224cce5f5a1ef00..92befbd4bdedf99479632b87e5eca134f821ea30"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "3fa2a877f777d74229d56b120b961c0d70c519d7..71012ac5316efa776ae8541ec1eb6b3af83fd3f2"
"shas": "e3704bedd5da917e83615d76b10a894628b7b1e6..fe87a170daf810791a51091f7e01deebe1763bb8"
}
,{
"testCaseDescription": "go-comment-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index 7905807..61c10ca 100644",
"index 79058077..61c10ca2 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "71012ac5316efa776ae8541ec1eb6b3af83fd3f2..3b1b670124d948deab3aa2518ba8bb98c55328ec"
"shas": "fe87a170daf810791a51091f7e01deebe1763bb8..0643154d6499fe942d64e9b461ae56971ffa97e8"
}
,{
"testCaseDescription": "go-comment-replacement-test",
@ -124,7 +124,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index 61c10ca..8e149b7 100644",
"index 61c10ca2..8e149b7b 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -1,5 +1,7 @@",
@ -138,7 +138,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3b1b670124d948deab3aa2518ba8bb98c55328ec..dfbba9c9ed93653c243d4b61379c97cfc4bddb20"
"shas": "0643154d6499fe942d64e9b461ae56971ffa97e8..634774d4834a6dde4a3b6e86d1d6f7a233907929"
}
,{
"testCaseDescription": "go-comment-delete-replacement-test",
@ -181,7 +181,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index 8e149b7..61c10ca 100644",
"index 8e149b7b..61c10ca2 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -1,7 +1,5 @@",
@ -195,7 +195,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "dfbba9c9ed93653c243d4b61379c97cfc4bddb20..431a7f3bfc3381192514d14542bf05a29589064f"
"shas": "634774d4834a6dde4a3b6e86d1d6f7a233907929..eaee42795b05ef3ac97cf1b63da2ba540449b08a"
}
,{
"testCaseDescription": "go-comment-delete-insert-test",
@ -226,7 +226,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index 61c10ca..7905807 100644",
"index 61c10ca2..79058077 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -1,5 +1,5 @@",
@ -238,7 +238,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "431a7f3bfc3381192514d14542bf05a29589064f..928fb0d0d1f482c656e700100305e9774fe41967"
"shas": "eaee42795b05ef3ac97cf1b63da2ba540449b08a..964d187a7626872b94ad9ec162fc789786e2f821"
}
,{
"testCaseDescription": "go-comment-teardown-test",
@ -269,7 +269,7 @@
],
"patch": [
"diff --git a/comment.go b/comment.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/comment.go",
"+++ b/comment.go",
"@@ -1,5 +0,0 @@",
@ -280,5 +280,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "928fb0d0d1f482c656e700100305e9774fe41967..9223c0a19450a10aee87e22df37ae11c4715a564"
"shas": "964d187a7626872b94ad9ec162fc789786e2f821..b2cf56b14a7ab11a35c158ac939ba04de5784fc5"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7cc9f70b06328f9f843a2a525124ed419e673a1b..fa0e7ec2e8593d9f76acd5a48204f2f0cfde6dc8"
"shas": "504385a7f8980136f6416c87afa85e35bbbf4e22..b7b6ad00dfc39e0bcf6afc34c80d1766652536de"
}
,{
"testCaseDescription": "go-const-declarations-with-types-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index 7905807..0adafad 100644",
"index 79058077..0adafada 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "fa0e7ec2e8593d9f76acd5a48204f2f0cfde6dc8..d56eee79a18981287fcbe3a428ace0ba49851334"
"shas": "b7b6ad00dfc39e0bcf6afc34c80d1766652536de..eac8ee28b8f4186d39342196c7f597607dd7d0ef"
}
,{
"testCaseDescription": "go-const-declarations-with-types-replacement-test",
@ -90,37 +90,29 @@
"const-declarations-with-types.go": [
{
"span": {
"replace": [
{
"start": [
4,
7
],
"end": [
4,
19
]
},
{
"start": [
4,
1
],
"end": [
4,
30
]
}
]
"delete": {
"start": [
4,
7
],
"end": [
4,
19
]
}
},
"summary": "Replaced the 'zero' var assignment with the 'one' var assignment in the main function of the 'main' module"
},
"summary": "Deleted the 'zero' var assignment in the main function of the 'main' module"
}
]
},
"errors": {
"const-declarations-with-types.go": [
{
"span": {
"insert": {
"start": [
4,
1
7
],
"end": [
4,
@ -128,18 +120,17 @@
]
}
},
"summary": "Added the '1' var assignment in the main function of the 'main' module"
"summary": "Added 'one, two uiint64 = 1, 2' at line 4, column 7 - line 4, column 30 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"const-declarations-with-types.go"
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index 0adafad..901589b 100644",
"index 0adafada..901589bf 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -1,5 +1,5 @@",
@ -151,7 +142,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d56eee79a18981287fcbe3a428ace0ba49851334..e6ebff753305d99d68683a4448bfe6cb666dc26f"
"shas": "eac8ee28b8f4186d39342196c7f597607dd7d0ef..22e628897f7b9f40d8ad7b8e4b611c615f79d005"
}
,{
"testCaseDescription": "go-const-declarations-with-types-delete-replacement-test",
@ -160,37 +151,29 @@
"const-declarations-with-types.go": [
{
"span": {
"replace": [
{
"start": [
4,
1
],
"end": [
4,
30
]
},
{
"start": [
4,
7
],
"end": [
4,
19
]
}
]
"insert": {
"start": [
4,
7
],
"end": [
4,
19
]
}
},
"summary": "Replaced the 'one' var assignment with the 'zero' var assignment in the main function of the 'main' module"
},
"summary": "Added the 'zero' var assignment in the main function of the 'main' module"
}
]
},
"errors": {
"const-declarations-with-types.go": [
{
"span": {
"delete": {
"start": [
4,
1
7
],
"end": [
4,
@ -198,18 +181,17 @@
]
}
},
"summary": "Deleted the '1' var assignment in the main function of the 'main' module"
"summary": "Deleted 'one, two uiint64 = 1, 2' at line 4, column 7 - line 4, column 30 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"const-declarations-with-types.go"
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index 901589b..0adafad 100644",
"index 901589bf..0adafada 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -1,5 +1,5 @@",
@ -221,7 +203,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e6ebff753305d99d68683a4448bfe6cb666dc26f..b030aae665948a7eb6a41f2e20fea7b836e9c849"
"shas": "22e628897f7b9f40d8ad7b8e4b611c615f79d005..09860013fd34329dfeed534371e363ebef2a2d2e"
}
,{
"testCaseDescription": "go-const-declarations-with-types-delete-insert-test",
@ -252,7 +234,7 @@
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index 0adafad..7905807 100644",
"index 0adafada..79058077 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -1,5 +1,5 @@",
@ -264,7 +246,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b030aae665948a7eb6a41f2e20fea7b836e9c849..f3222d553136ccd169b99effb7b8c43ceab0c828"
"shas": "09860013fd34329dfeed534371e363ebef2a2d2e..24e50c5b3f04c70b22775416806b123fdb9ef260"
}
,{
"testCaseDescription": "go-const-declarations-with-types-teardown-test",
@ -295,7 +277,7 @@
],
"patch": [
"diff --git a/const-declarations-with-types.go b/const-declarations-with-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/const-declarations-with-types.go",
"+++ b/const-declarations-with-types.go",
"@@ -1,5 +0,0 @@",
@ -306,5 +288,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "f3222d553136ccd169b99effb7b8c43ceab0c828..38522d7429c9cfae204c5a1087b0d6906b7d02e4"
"shas": "24e50c5b3f04c70b22775416806b123fdb9ef260..6e496e504c93beee0c719d335706c22938bbf519"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "f87f118c5fbe213deaa773d37f03f8f82215d1c9..ebe0671ad37b7794037edefb52a36031dca4bab2"
"shas": "f02de8db78c69969d0c266eeb91868744cd01e7e..a7dc1f0cd5a2c5c73885244f3d58e2518044b4da"
}
,{
"testCaseDescription": "go-const-declarations-without-types-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index 7905807..7ef3805 100644",
"index 79058077..7ef3805e 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ebe0671ad37b7794037edefb52a36031dca4bab2..a4f3f063e5231b42e7f4fc6cc0172400f8ccf125"
"shas": "a7dc1f0cd5a2c5c73885244f3d58e2518044b4da..e43a2a8868524e3837357ada698abf81a646c362"
}
,{
"testCaseDescription": "go-const-declarations-without-types-replacement-test",
@ -90,37 +90,29 @@
"const-declarations-without-types.go": [
{
"span": {
"replace": [
{
"start": [
4,
7
],
"end": [
4,
15
]
},
{
"start": [
4,
1
],
"end": [
4,
22
]
}
]
"delete": {
"start": [
4,
7
],
"end": [
4,
15
]
}
},
"summary": "Replaced the 'zero' var assignment with the 'one' var assignment in the main function of the 'main' module"
},
"summary": "Deleted the 'zero' var assignment in the main function of the 'main' module"
}
]
},
"errors": {
"const-declarations-without-types.go": [
{
"span": {
"insert": {
"start": [
4,
1
7
],
"end": [
4,
@ -128,18 +120,17 @@
]
}
},
"summary": "Added the '1' var assignment in the main function of the 'main' module"
"summary": "Added 'one, two = 1, 2' at line 4, column 7 - line 4, column 22 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"const-declarations-without-types.go"
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index 7ef3805..c4525e2 100644",
"index 7ef3805e..c4525e24 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -151,7 +142,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a4f3f063e5231b42e7f4fc6cc0172400f8ccf125..daaaf1017da98ce0c03f8bd975e26e3efacce952"
"shas": "e43a2a8868524e3837357ada698abf81a646c362..712fc0efbaaefe83aecd331db81db1e05725b500"
}
,{
"testCaseDescription": "go-const-declarations-without-types-delete-replacement-test",
@ -160,37 +151,29 @@
"const-declarations-without-types.go": [
{
"span": {
"replace": [
{
"start": [
4,
1
],
"end": [
4,
22
]
},
{
"start": [
4,
7
],
"end": [
4,
15
]
}
]
"insert": {
"start": [
4,
7
],
"end": [
4,
15
]
}
},
"summary": "Replaced the 'one' var assignment with the 'zero' var assignment in the main function of the 'main' module"
},
"summary": "Added the 'zero' var assignment in the main function of the 'main' module"
}
]
},
"errors": {
"const-declarations-without-types.go": [
{
"span": {
"delete": {
"start": [
4,
1
7
],
"end": [
4,
@ -198,18 +181,17 @@
]
}
},
"summary": "Deleted the '1' var assignment in the main function of the 'main' module"
"summary": "Deleted 'one, two = 1, 2' at line 4, column 7 - line 4, column 22 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"const-declarations-without-types.go"
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index c4525e2..7ef3805 100644",
"index c4525e24..7ef3805e 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -221,7 +203,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "daaaf1017da98ce0c03f8bd975e26e3efacce952..327356c60e7607a113ec57f8567692ee844d2dca"
"shas": "712fc0efbaaefe83aecd331db81db1e05725b500..80b9540915da1cc78c694aa0ed1ec7cb8ea2aa25"
}
,{
"testCaseDescription": "go-const-declarations-without-types-delete-insert-test",
@ -252,7 +234,7 @@
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index 7ef3805..7905807 100644",
"index 7ef3805e..79058077 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -264,7 +246,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "327356c60e7607a113ec57f8567692ee844d2dca..7531bdb315cd1798c8811160ba63d3bf860bb541"
"shas": "80b9540915da1cc78c694aa0ed1ec7cb8ea2aa25..a19422722da88b57b8317165f0d3b420654e1827"
}
,{
"testCaseDescription": "go-const-declarations-without-types-teardown-test",
@ -295,7 +277,7 @@
],
"patch": [
"diff --git a/const-declarations-without-types.go b/const-declarations-without-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/const-declarations-without-types.go",
"+++ b/const-declarations-without-types.go",
"@@ -1,5 +0,0 @@",
@ -306,5 +288,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7531bdb315cd1798c8811160ba63d3bf860bb541..7cc9f70b06328f9f843a2a525124ed419e673a1b"
"shas": "a19422722da88b57b8317165f0d3b420654e1827..504385a7f8980136f6416c87afa85e35bbbf4e22"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "ec0920b704179f760c0897c96869f2acb3f0bfae..ba955164e931425263468cbfd5a48e87ebfeaf7b"
"shas": "d189fd08606f98132afa64428010e6b5d86a0d4b..2f7e89d8e9e681c90aaa4365199c5109537d8da4"
}
,{
"testCaseDescription": "go-const-with-implicit-values-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index 7905807..d98ee4c 100644",
"index 79058077..d98ee4cf 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -1,5 +1,9 @@",
@ -115,7 +115,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ba955164e931425263468cbfd5a48e87ebfeaf7b..c41729cecb893ff7b238f7f7a9cfd8047d275a3d"
"shas": "2f7e89d8e9e681c90aaa4365199c5109537d8da4..0e9b49d3186694752644a6589a904f5b79271a35"
}
,{
"testCaseDescription": "go-const-with-implicit-values-replacement-test",
@ -212,7 +212,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index d98ee4c..c4c9127 100644",
"index d98ee4cf..c4c9127b 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -2,8 +2,8 @@ package main",
@ -229,7 +229,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c41729cecb893ff7b238f7f7a9cfd8047d275a3d..9e61080c6399acf0b63a2f40018d8d149073e12c"
"shas": "0e9b49d3186694752644a6589a904f5b79271a35..57d7d6fe32226a7eb65c5d79c72d5b69dccc1c04"
}
,{
"testCaseDescription": "go-const-with-implicit-values-delete-replacement-test",
@ -326,7 +326,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index c4c9127..d98ee4c 100644",
"index c4c9127b..d98ee4cf 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -2,8 +2,8 @@ package main",
@ -343,7 +343,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "9e61080c6399acf0b63a2f40018d8d149073e12c..5edddaca874c4aa5809992110759842b56a97bf3"
"shas": "57d7d6fe32226a7eb65c5d79c72d5b69dccc1c04..1fd4124af2851899f95a4a9eb4ca214b43102f84"
}
,{
"testCaseDescription": "go-const-with-implicit-values-delete-insert-test",
@ -404,7 +404,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index d98ee4c..7905807 100644",
"index d98ee4cf..79058077 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -1,9 +1,5 @@",
@ -420,7 +420,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "5edddaca874c4aa5809992110759842b56a97bf3..e706664a8ed53d06b898679687021b2c4ec5cfd3"
"shas": "1fd4124af2851899f95a4a9eb4ca214b43102f84..78353062806fb7f31c029f4c6081b68de0ac8468"
}
,{
"testCaseDescription": "go-const-with-implicit-values-teardown-test",
@ -451,7 +451,7 @@
],
"patch": [
"diff --git a/const-with-implicit-values.go b/const-with-implicit-values.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/const-with-implicit-values.go",
"+++ b/const-with-implicit-values.go",
"@@ -1,5 +0,0 @@",
@ -462,5 +462,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "e706664a8ed53d06b898679687021b2c4ec5cfd3..31a0236243256b4af2472a2e295e5f0aad75fab8"
"shas": "78353062806fb7f31c029f4c6081b68de0ac8468..cb66210a1c475a2552548892206041158edcec3d"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "31a0236243256b4af2472a2e295e5f0aad75fab8..b018abec281817b98e29353ea26223c98bd35482"
"shas": "cb66210a1c475a2552548892206041158edcec3d..125c4121d3dbbbf5f23a6b3649eb21ce46db2146"
}
,{
"testCaseDescription": "go-constructors-insert-test",
@ -58,7 +58,7 @@
]
}
},
"summary": "Added the 'make()' function call in the main function of the 'main' module"
"summary": "Added the 'make(chan<- int)' function call in the main function of the 'main' module"
},
{
"span": {
@ -73,7 +73,7 @@
]
}
},
"summary": "Added the 'make(, …)' function call in the main function of the 'main' module"
"summary": "Added the 'make(chan<- int, …)' function call in the main function of the 'main' module"
},
{
"span": {
@ -88,7 +88,7 @@
]
}
},
"summary": "Added the 'make(, 5, 10)' function call in the main function of the 'main' module"
"summary": "Added the 'make(chan<- int, 5, 10)' function call in the main function of the 'main' module"
},
{
"span": {
@ -114,7 +114,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index 7905807..082e65f 100644",
"index 79058077..082e65fd 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -1,5 +1,8 @@",
@ -129,7 +129,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b018abec281817b98e29353ea26223c98bd35482..268b285f41fda1deee565dcf60b672a56bb146ee"
"shas": "125c4121d3dbbbf5f23a6b3649eb21ce46db2146..986cacbfb59eb59882c6c267dbfe6472f7d77f07"
}
,{
"testCaseDescription": "go-constructors-replacement-test",
@ -161,7 +161,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the make(…) function call of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the chan<- string channel type of the 'main' function"
},
{
"span": {
@ -188,7 +188,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the make(…, …) function call of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the chan<- string channel type of the 'main' function"
},
{
"span": {
@ -215,7 +215,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the make(…, 7, 11) function call of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the chan<- string channel type of the 'main' function"
},
{
"span": {
@ -242,7 +242,7 @@
}
]
},
"summary": "Replaced '5' with '7' in the make(, 7, 11) function call of the 'main' function"
"summary": "Replaced '5' with '7' in the make(chan<- string, 7, 11) function call of the 'main' function"
},
{
"span": {
@ -269,7 +269,7 @@
}
]
},
"summary": "Replaced '10' with '11' in the make(, 7, 11) function call of the 'main' function"
"summary": "Replaced '10' with '11' in the make(chan<- string, 7, 11) function call of the 'main' function"
},
{
"span": {
@ -334,7 +334,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index 082e65f..e4fdb2e 100644",
"index 082e65fd..e4fdb2e9 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -1,8 +1,8 @@",
@ -352,7 +352,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "268b285f41fda1deee565dcf60b672a56bb146ee..f77550a23410c58a759303bd127eaf9d363bef8c"
"shas": "986cacbfb59eb59882c6c267dbfe6472f7d77f07..9a05ffa21feb0af6a2b60ba7d02b5cc7528a41ba"
}
,{
"testCaseDescription": "go-constructors-delete-replacement-test",
@ -384,7 +384,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the make(…) function call of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the chan<- int channel type of the 'main' function"
},
{
"span": {
@ -411,7 +411,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the make(…, …) function call of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the chan<- int channel type of the 'main' function"
},
{
"span": {
@ -438,7 +438,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the make(…, 5, 10) function call of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the chan<- int channel type of the 'main' function"
},
{
"span": {
@ -465,7 +465,7 @@
}
]
},
"summary": "Replaced '7' with '5' in the make(, 5, 10) function call of the 'main' function"
"summary": "Replaced '7' with '5' in the make(chan<- int, 5, 10) function call of the 'main' function"
},
{
"span": {
@ -492,7 +492,7 @@
}
]
},
"summary": "Replaced '11' with '10' in the make(, 5, 10) function call of the 'main' function"
"summary": "Replaced '11' with '10' in the make(chan<- int, 5, 10) function call of the 'main' function"
},
{
"span": {
@ -557,7 +557,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index e4fdb2e..082e65f 100644",
"index e4fdb2e9..082e65fd 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -1,8 +1,8 @@",
@ -575,7 +575,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f77550a23410c58a759303bd127eaf9d363bef8c..4b32fa386e7e8ed303290c248d6845dac106a7b2"
"shas": "9a05ffa21feb0af6a2b60ba7d02b5cc7528a41ba..9f3e1a71be7503bfba14d5f5312c73de0dbb1184"
}
,{
"testCaseDescription": "go-constructors-delete-insert-test",
@ -595,7 +595,7 @@
]
}
},
"summary": "Deleted the 'make()' function call in the main function of the 'main' module"
"summary": "Deleted the 'make(chan<- int)' function call in the main function of the 'main' module"
},
{
"span": {
@ -610,7 +610,7 @@
]
}
},
"summary": "Deleted the 'make(, …)' function call in the main function of the 'main' module"
"summary": "Deleted the 'make(chan<- int, …)' function call in the main function of the 'main' module"
},
{
"span": {
@ -625,7 +625,7 @@
]
}
},
"summary": "Deleted the 'make(, 5, 10)' function call in the main function of the 'main' module"
"summary": "Deleted the 'make(chan<- int, 5, 10)' function call in the main function of the 'main' module"
},
{
"span": {
@ -651,7 +651,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index 082e65f..7905807 100644",
"index 082e65fd..79058077 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -1,8 +1,5 @@",
@ -666,7 +666,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "4b32fa386e7e8ed303290c248d6845dac106a7b2..35df69d74618d96279caea0d8693d122a355306b"
"shas": "9f3e1a71be7503bfba14d5f5312c73de0dbb1184..71fbb39a96a78f9fe468c8de9e0d2f92c4caef6a"
}
,{
"testCaseDescription": "go-constructors-teardown-test",
@ -697,7 +697,7 @@
],
"patch": [
"diff --git a/constructors.go b/constructors.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/constructors.go",
"+++ b/constructors.go",
"@@ -1,5 +0,0 @@",
@ -708,5 +708,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "35df69d74618d96279caea0d8693d122a355306b..ddf3ce8b6c6271e3153414e94c2a5ed576525b3f"
"shas": "71fbb39a96a78f9fe468c8de9e0d2f92c4caef6a..6e80447717bef244bb9bfd8ca19fa08396a93949"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "0a40b22c43aa00db120bff03da0f027e53466491..d77c4e05633ee6f1744f76452e92686b56c4df1d"
"shas": "f5535c936fcd3af4df3da2046b73161b0f2290cc..5a84660824ed4e85a6a2d394afadbcfbbbf380be"
}
,{
"testCaseDescription": "go-float-literals-insert-test",
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index 7905807..772bdb0 100644",
"index 79058077..772bdb09 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -1,5 +1,9 @@",
@ -145,7 +145,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d77c4e05633ee6f1744f76452e92686b56c4df1d..c08ec5374def53e17f4248246425d6a7e2e68fe8"
"shas": "5a84660824ed4e85a6a2d394afadbcfbbbf380be..826d19c54ec15c9dd29a83511524fe55ad87d35b"
}
,{
"testCaseDescription": "go-float-literals-replacement-test",
@ -296,7 +296,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index 772bdb0..0818628 100644",
"index 772bdb09..0818628b 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -1,9 +1,9 @@",
@ -316,7 +316,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c08ec5374def53e17f4248246425d6a7e2e68fe8..94552c782af44c22df35ede9b51494b6f34d91a1"
"shas": "826d19c54ec15c9dd29a83511524fe55ad87d35b..c08c89fa9d84dc404b82726023f2c04a40153211"
}
,{
"testCaseDescription": "go-float-literals-delete-replacement-test",
@ -467,7 +467,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index 0818628..772bdb0 100644",
"index 0818628b..772bdb09 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -1,9 +1,9 @@",
@ -487,7 +487,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "94552c782af44c22df35ede9b51494b6f34d91a1..3f878796d9f18bf596a4d2383fde21338ceb6c56"
"shas": "c08c89fa9d84dc404b82726023f2c04a40153211..d9a93091aa6a4a2fa1bf8e43c33a46413ec3e477"
}
,{
"testCaseDescription": "go-float-literals-delete-insert-test",
@ -578,7 +578,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index 772bdb0..7905807 100644",
"index 772bdb09..79058077 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -1,9 +1,5 @@",
@ -594,7 +594,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3f878796d9f18bf596a4d2383fde21338ceb6c56..73cc68077f44fc2d622f9eec169f48a8212d6ee0"
"shas": "d9a93091aa6a4a2fa1bf8e43c33a46413ec3e477..8b1dc087e778dc42016f5c1d5f71d3edf185b3f9"
}
,{
"testCaseDescription": "go-float-literals-teardown-test",
@ -625,7 +625,7 @@
],
"patch": [
"diff --git a/float-literals.go b/float-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/float-literals.go",
"+++ b/float-literals.go",
"@@ -1,5 +0,0 @@",
@ -636,5 +636,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "73cc68077f44fc2d622f9eec169f48a8212d6ee0..d5f24adbbe5ff125bd4556844ca38a028a26c1d9"
"shas": "8b1dc087e778dc42016f5c1d5f71d3edf185b3f9..544e59d0964fe4e59f0711b8d7c0a74002bf1e68"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "ca65d40f5449d0d764090c6fc3b7a4a72934eb41..b2043c1fd3484321d535e1faadc80155f010a7f1"
"shas": "7e709244cbc4d9615862a904b12d8142fd55c570..ff463eba36d2fe0ea3bd6c638877942179598108"
}
,{
"testCaseDescription": "go-for-statements-insert-test",
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index 7905807..66e5f7a 100644",
"index 79058077..66e5f7a4 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -1,5 +1,24 @@",
@ -160,7 +160,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b2043c1fd3484321d535e1faadc80155f010a7f1..d3ccc80f54827e7f366808698a3a8f18fdefdf72"
"shas": "ff463eba36d2fe0ea3bd6c638877942179598108..fe2b343424bb54cdc0bad59c35a5e40101f87ca9"
}
,{
"testCaseDescription": "go-for-statements-replacement-test",
@ -169,150 +169,123 @@
"for-statements.go": [
{
"span": {
"replace": [
{
"start": [
8,
1
],
"end": [
11,
2
]
},
{
"start": [
8,
1
],
"end": [
11,
2
]
}
]
},
"summary": "Replaced the 'i := 0; i < 5; i++' for statement with the 'x := range y' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"insert": {
"start": [
12,
7
8,
1
],
"end": [
12,
8
11,
2
]
}
},
"summary": "Deleted the 'i' identifier in the main function of the 'main' module"
"summary": "Added the 'x := range y' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"insert": {
"start": [
12,
11
1
],
"end": [
12,
13
15,
2
]
}
},
"summary": "Deleted '10' in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
12,
15
],
"end": [
12,
16
]
}
},
"summary": "Deleted the 'i' identifier in the main function of the 'main' module"
"summary": "Added the 'for ;; {\na()\ncontinue loop2\n}' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
16,
7
1
],
"end": [
16,
8
19,
2
]
}
},
"summary": "Added the 'i' identifier in the main function of the 'main' module"
"summary": "Added the 'i < 10; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
16,
11
20,
1
],
"end": [
16,
13
23,
2
]
}
},
"summary": "Added '10' in the main function of the 'main' module"
"summary": "Added the 'for {\na(x)\nbreak\n}' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"delete": {
"start": [
16,
15
8,
1
],
"end": [
16,
16
11,
2
]
}
},
"summary": "Added the 'i' identifier in the main function of the 'main' module"
"summary": "Deleted the 'i := 0; i < 5; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
12,
1
],
"end": [
15,
2
]
}
},
"summary": "Deleted the 'i < 10; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
16,
1
],
"end": [
19,
2
]
}
},
"summary": "Deleted the 'for ;; {\na()\ncontinue\n}' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
20,
5
1
],
"end": [
20,
6
23,
2
]
}
},
"summary": "Deleted the 'x' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
20,
16
],
"end": [
20,
17
]
}
},
"summary": "Deleted the 'y' identifier in the main function of the 'main' module"
"summary": "Deleted the 'x := range y' for statement in the main function of the 'main' module"
}
]
},
@ -323,7 +296,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index 66e5f7a..4099658 100644",
"index 66e5f7a4..4099658c 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -1,23 +1,23 @@",
@ -357,159 +330,144 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d3ccc80f54827e7f366808698a3a8f18fdefdf72..298689562c37762a09861d536b2717c8ba2eec94"
"shas": "fe2b343424bb54cdc0bad59c35a5e40101f87ca9..049769e522fe8c45975b095d87a4475e0141446a"
}
,{
"testCaseDescription": "go-for-statements-delete-replacement-test",
"expectedResult": {
"changes": {
"for-statements.go": [
{
"span": {
"insert": {
"start": [
8,
1
],
"end": [
11,
2
]
}
},
"summary": "Added the 'i := 0; i < 5; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
12,
1
],
"end": [
15,
2
]
}
},
"summary": "Added the 'i < 10; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
16,
1
],
"end": [
19,
2
]
}
},
"summary": "Added the 'for ;; {\na()\ncontinue\n}' for statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
21,
3
],
"end": [
21,
4
]
}
},
"summary": "Added the 'x' identifier in the a(x) function call of the 'main' function"
},
{
"span": {
"replace": [
{
"start": [
8,
1
10,
7
],
"end": [
11,
2
10,
11
]
},
{
"start": [
8,
22,
1
],
"end": [
11,
2
22,
6
]
}
]
},
"summary": "Replaced the 'x := range y' for statement with the 'i := 0; i < 5; i++' for statement in the main function of the 'main' module"
"summary": "Replaced the 'loop' identifier with the 'break' break_statement in the main function of the 'main' module"
},
{
"span": {
"insert": {
"delete": {
"start": [
12,
7
1
],
"end": [
12,
8
15,
2
]
}
},
"summary": "Added the 'i' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
12,
11
],
"end": [
12,
13
]
}
},
"summary": "Added '10' in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
12,
15
],
"end": [
12,
16
]
}
},
"summary": "Added the 'i' identifier in the main function of the 'main' module"
"summary": "Deleted the 'for ;; {\na()\ncontinue loop2\n}' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
16,
7
1
],
"end": [
16,
8
19,
2
]
}
},
"summary": "Deleted the 'i' identifier in the main function of the 'main' module"
"summary": "Deleted the 'i < 10; i++' for statement in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
16,
11
20,
1
],
"end": [
16,
13
23,
2
]
}
},
"summary": "Deleted '10' in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
16,
15
],
"end": [
16,
16
]
}
},
"summary": "Deleted the 'i' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
20,
5
],
"end": [
20,
6
]
}
},
"summary": "Added the 'x' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
20,
16
],
"end": [
20,
17
]
}
},
"summary": "Added the 'y' identifier in the main function of the 'main' module"
"summary": "Deleted the 'for {\na(x)\nbreak\n}' for statement in the main function of the 'main' module"
}
]
},
@ -520,7 +478,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index 4099658..66e5f7a 100644",
"index 4099658c..66e5f7a4 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -1,23 +1,23 @@",
@ -554,7 +512,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "298689562c37762a09861d536b2717c8ba2eec94..3fbb69c772c6e17fe80db070df73c92d72661ee2"
"shas": "049769e522fe8c45975b095d87a4475e0141446a..3858942df3583b6af23eaee8570e6f6dd9e4c307"
}
,{
"testCaseDescription": "go-for-statements-delete-insert-test",
@ -645,7 +603,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index 66e5f7a..7905807 100644",
"index 66e5f7a4..79058077 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -1,24 +1,5 @@",
@ -676,7 +634,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3fbb69c772c6e17fe80db070df73c92d72661ee2..52ae435552e57cfdc52931ca1274ca04626303eb"
"shas": "3858942df3583b6af23eaee8570e6f6dd9e4c307..df5275950482bc646edebd24c9b53c9264f35096"
}
,{
"testCaseDescription": "go-for-statements-teardown-test",
@ -707,7 +665,7 @@
],
"patch": [
"diff --git a/for-statements.go b/for-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/for-statements.go",
"+++ b/for-statements.go",
"@@ -1,5 +0,0 @@",
@ -718,5 +676,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "52ae435552e57cfdc52931ca1274ca04626303eb..afd5b32b49459e888137b0101aaf591a85f8efa5"
"shas": "df5275950482bc646edebd24c9b53c9264f35096..945fb4e6905c2b97bfd8fedd3c016e6f4a8c4fa6"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "afd5b32b49459e888137b0101aaf591a85f8efa5..1d4829565bd32b26dbd67c744146cc1e507d3770"
"shas": "945fb4e6905c2b97bfd8fedd3c016e6f4a8c4fa6..53afff937bb03e5626aefc0b7dfd05db7e167ec5"
}
,{
"testCaseDescription": "go-function-declarations-insert-test",
@ -81,7 +81,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index 7905807..2a1e7b8 100644",
"index 79058077..2a1e7b86 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -1,5 +1,8 @@",
@ -96,7 +96,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1d4829565bd32b26dbd67c744146cc1e507d3770..4a1f64b49e1c8eabc5babf4225c345f6228426d2"
"shas": "53afff937bb03e5626aefc0b7dfd05db7e167ec5..fe8b8c06effbee7c8ea48c251ea6db6788ed5f83"
}
,{
"testCaseDescription": "go-function-declarations-replacement-test",
@ -220,7 +220,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index 2a1e7b8..10d0b49 100644",
"index 2a1e7b86..10d0b496 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -1,8 +1,8 @@",
@ -238,7 +238,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "4a1f64b49e1c8eabc5babf4225c345f6228426d2..7bc3341701e7f5f8f0997b5d5e294306ba23cfd6"
"shas": "fe8b8c06effbee7c8ea48c251ea6db6788ed5f83..424c0c02bdf9e5988e55cfa5b980c9d3c2265b5c"
}
,{
"testCaseDescription": "go-function-declarations-delete-replacement-test",
@ -362,7 +362,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index 10d0b49..2a1e7b8 100644",
"index 10d0b496..2a1e7b86 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -1,8 +1,8 @@",
@ -380,7 +380,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "7bc3341701e7f5f8f0997b5d5e294306ba23cfd6..621da01e5093ffb5aac903831eb24073c2d86237"
"shas": "424c0c02bdf9e5988e55cfa5b980c9d3c2265b5c..cb85a9536cad72b815feeb18731ebbeae8465196"
}
,{
"testCaseDescription": "go-function-declarations-delete-insert-test",
@ -423,7 +423,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index 2a1e7b8..7905807 100644",
"index 2a1e7b86..79058077 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -1,8 +1,5 @@",
@ -438,7 +438,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "621da01e5093ffb5aac903831eb24073c2d86237..fbeb6d14324f4ab0a9d5312e436972802ab39fe9"
"shas": "cb85a9536cad72b815feeb18731ebbeae8465196..a6f74271ab157809b28c97eb6da04f69ad8d8814"
}
,{
"testCaseDescription": "go-function-declarations-teardown-test",
@ -469,7 +469,7 @@
],
"patch": [
"diff --git a/function-declarations.go b/function-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/function-declarations.go",
"+++ b/function-declarations.go",
"@@ -1,5 +0,0 @@",
@ -480,5 +480,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "fbeb6d14324f4ab0a9d5312e436972802ab39fe9..efb4a57594d20ae6478868b54c3349cf6f800b43"
"shas": "a6f74271ab157809b28c97eb6da04f69ad8d8814..6db5b98058f6889a0e2a736415bbd346a877a81d"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "3e502021cd3d8c7e11e89ade83196888145fb71f..b09fbf1bb5060c8ba4a1734ffba2ec051f27b17f"
"shas": "203cd18e8dc697c2d27de5e9d29c1ee480c444d2..d544ad59ccf4383bbb109e0673fd106df1573048"
}
,{
"testCaseDescription": "go-function-literals-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index 7905807..1f4ead9 100644",
"index 79058077..1f4ead96 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -1,5 +1,7 @@",
@ -83,7 +83,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b09fbf1bb5060c8ba4a1734ffba2ec051f27b17f..28754acd8cf1debdce1a12414f67279c45e1579f"
"shas": "d544ad59ccf4383bbb109e0673fd106df1573048..c1bd82138b5a7cc5e9ab681a2ab67c31be761fb6"
}
,{
"testCaseDescription": "go-function-literals-replacement-test",
@ -153,7 +153,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index 1f4ead9..7b03466 100644",
"index 1f4ead96..7b034662 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -1,7 +1,7 @@",
@ -167,7 +167,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "28754acd8cf1debdce1a12414f67279c45e1579f..769e625f4f8dfb13a9255399f7372cb196804898"
"shas": "c1bd82138b5a7cc5e9ab681a2ab67c31be761fb6..0e3c2af08ac51c3d5b2d6c746ef5882c664cbb8c"
}
,{
"testCaseDescription": "go-function-literals-delete-replacement-test",
@ -237,7 +237,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index 7b03466..1f4ead9 100644",
"index 7b034662..1f4ead96 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -1,7 +1,7 @@",
@ -251,7 +251,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "769e625f4f8dfb13a9255399f7372cb196804898..6235b7da121a133dd7cd12984c13d71a8fbb828a"
"shas": "0e3c2af08ac51c3d5b2d6c746ef5882c664cbb8c..5b89ca61afcee149c1dd0bcbcf6a806dcc6e40c6"
}
,{
"testCaseDescription": "go-function-literals-delete-insert-test",
@ -282,7 +282,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index 1f4ead9..7905807 100644",
"index 1f4ead96..79058077 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -1,7 +1,5 @@",
@ -296,7 +296,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "6235b7da121a133dd7cd12984c13d71a8fbb828a..a6fc93da4d6bf1634997a6c97f8f861117147197"
"shas": "5b89ca61afcee149c1dd0bcbcf6a806dcc6e40c6..951e9771462bce0da14272bdf14a5f77910c5a7f"
}
,{
"testCaseDescription": "go-function-literals-teardown-test",
@ -327,7 +327,7 @@
],
"patch": [
"diff --git a/function-literals.go b/function-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/function-literals.go",
"+++ b/function-literals.go",
"@@ -1,5 +0,0 @@",
@ -338,5 +338,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "a6fc93da4d6bf1634997a6c97f8f861117147197..f87f118c5fbe213deaa773d37f03f8f82215d1c9"
"shas": "951e9771462bce0da14272bdf14a5f77910c5a7f..f02de8db78c69969d0c266eeb91868744cd01e7e"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "413c986cf068b52f7e7690feecb72a24b039a0f3..386f519225dbc367dda1b2cd917c4cdf0210e653"
"shas": "92befbd4bdedf99479632b87e5eca134f821ea30..963f01231239f28be532c792a5bc824b4747afcc"
}
,{
"testCaseDescription": "go-function-types-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index 7905807..eebe42e 100644",
"index 79058077..eebe42e8 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -1,5 +1,8 @@",
@ -99,7 +99,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "386f519225dbc367dda1b2cd917c4cdf0210e653..f2ec55ec8ea3bd63780b75bff488761e2edb72b3"
"shas": "963f01231239f28be532c792a5bc824b4747afcc..66f54c139e1385651a35326a946edc9ade9159fd"
}
,{
"testCaseDescription": "go-function-types-replacement-test",
@ -131,7 +131,7 @@
}
]
},
"summary": "Replaced the 'a' identifier with the 'x' identifier in the x type declaration of the 'main' function"
"summary": "Replaced the 'a' identifier with the 'x' identifier in the 'x' type declaration of the 'main' function"
},
{
"span": {
@ -158,7 +158,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the x type declaration of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the func(string) string function type of the 'main' function"
},
{
"span": {
@ -185,7 +185,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the x type declaration of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the func(string) string function type of the 'main' function"
},
{
"span": {
@ -212,7 +212,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'y' identifier in the y type declaration of the 'main' function"
"summary": "Replaced the 'b' identifier with the 'y' identifier in the 'y' type declaration of the 'main' function"
},
{
"span": {
@ -227,7 +227,7 @@
]
}
},
"summary": "Deleted the 'int' identifier in the y type declaration of the 'main' function"
"summary": "Deleted the 'int' identifier in the func(string, int) (chan, error) function type of the 'main' function"
},
{
"span": {
@ -242,7 +242,7 @@
]
}
},
"summary": "Added the 'int' identifier in the y type declaration of the 'main' function"
"summary": "Added the 'int' identifier in the func(string, int) (chan, error) function type of the 'main' function"
},
{
"span": {
@ -257,7 +257,7 @@
]
}
},
"summary": "Added the 'chan, error' parameter declaration in the y type declaration of the 'main' function"
"summary": "Added the 'chan, error' parameter declaration in the func(string, int) (chan, error) function type of the 'main' function"
},
{
"span": {
@ -272,7 +272,7 @@
]
}
},
"summary": "Deleted the 'bool' identifier in the y type declaration of the 'main' function"
"summary": "Deleted the 'bool' identifier in the func(string, int) (chan, error) function type of the 'main' function"
},
{
"span": {
@ -287,7 +287,7 @@
]
}
},
"summary": "Deleted the 'error' identifier in the y type declaration of the 'main' function"
"summary": "Deleted the 'error' identifier in the func(string, int) (chan, error) function type of the 'main' function"
}
]
},
@ -298,7 +298,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index eebe42e..2ae1953 100644",
"index eebe42e8..2ae1953b 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -2,7 +2,7 @@ package main",
@ -313,7 +313,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f2ec55ec8ea3bd63780b75bff488761e2edb72b3..708a75c286dc70c3245e5c9f86e6830f9160e5b9"
"shas": "66f54c139e1385651a35326a946edc9ade9159fd..482682292043279c41c82ce438fb18fddeb87074"
}
,{
"testCaseDescription": "go-function-types-delete-replacement-test",
@ -345,7 +345,7 @@
}
]
},
"summary": "Replaced the 'x' identifier with the 'a' identifier in the a type declaration of the 'main' function"
"summary": "Replaced the 'x' identifier with the 'a' identifier in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -372,7 +372,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the a type declaration of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the func(int) int function type of the 'main' function"
},
{
"span": {
@ -399,7 +399,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the a type declaration of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the func(int) int function type of the 'main' function"
},
{
"span": {
@ -426,7 +426,7 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'b' identifier in the b type declaration of the 'main' function"
"summary": "Replaced the 'y' identifier with the 'b' identifier in the 'b' type declaration of the 'main' function"
},
{
"span": {
@ -441,7 +441,7 @@
]
}
},
"summary": "Deleted the 'string' identifier in the b type declaration of the 'main' function"
"summary": "Deleted the 'string' identifier in the func(int, string) (bool, error) function type of the 'main' function"
},
{
"span": {
@ -456,7 +456,7 @@
]
}
},
"summary": "Added the 'string' identifier in the b type declaration of the 'main' function"
"summary": "Added the 'string' identifier in the func(int, string) (bool, error) function type of the 'main' function"
},
{
"span": {
@ -471,7 +471,7 @@
]
}
},
"summary": "Added the 'bool' identifier in the b type declaration of the 'main' function"
"summary": "Added the 'bool' identifier in the func(int, string) (bool, error) function type of the 'main' function"
},
{
"span": {
@ -486,7 +486,7 @@
]
}
},
"summary": "Added the 'error' identifier in the b type declaration of the 'main' function"
"summary": "Added the 'error' identifier in the func(int, string) (bool, error) function type of the 'main' function"
},
{
"span": {
@ -501,7 +501,7 @@
]
}
},
"summary": "Deleted the 'chan, error' parameter declaration in the b type declaration of the 'main' function"
"summary": "Deleted the 'chan, error' parameter declaration in the func(int, string) (bool, error) function type of the 'main' function"
}
]
},
@ -512,7 +512,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index 2ae1953..eebe42e 100644",
"index 2ae1953b..eebe42e8 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -2,7 +2,7 @@ package main",
@ -527,7 +527,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "708a75c286dc70c3245e5c9f86e6830f9160e5b9..d0e18c113bf25587077274e8f4aa71fd8fca0839"
"shas": "482682292043279c41c82ce438fb18fddeb87074..e049102391150535bfce2d2d183c15de495c4a4e"
}
,{
"testCaseDescription": "go-function-types-delete-insert-test",
@ -573,7 +573,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index eebe42e..7905807 100644",
"index eebe42e8..79058077 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -1,8 +1,5 @@",
@ -588,7 +588,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d0e18c113bf25587077274e8f4aa71fd8fca0839..705f063a16a8ea9bede00742839556646bcc3227"
"shas": "e049102391150535bfce2d2d183c15de495c4a4e..a0f13705df69612621a48ea1e10f5096df5d7ac7"
}
,{
"testCaseDescription": "go-function-types-teardown-test",
@ -619,7 +619,7 @@
],
"patch": [
"diff --git a/function-types.go b/function-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/function-types.go",
"+++ b/function-types.go",
"@@ -1,5 +0,0 @@",
@ -630,5 +630,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "705f063a16a8ea9bede00742839556646bcc3227..5c786b1fb33685e71b27253120b0f1650e48a1bb"
"shas": "a0f13705df69612621a48ea1e10f5096df5d7ac7..fd5434c4a598d8b1f6d8bec1f592b6a3204a5111"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "4e70785e6ea415366b749118d52feb0fbf26824f..958d81ca1e486c50aa7d970df5fbb9e253d5f0b9"
"shas": "5ca6aa307b5684ac4eda03fead620e2d753f2e01..11881b5991a6f8e7b67cb65911c87f3a402f24ec"
}
,{
"testCaseDescription": "go-go-and-defer-statements-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index 7905807..4eab499 100644",
"index 79058077..4eab4994 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -1,5 +1,6 @@",
@ -97,7 +97,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "958d81ca1e486c50aa7d970df5fbb9e253d5f0b9..e6c1eb0f6ddb3e27c5083cff96af70c09c7e0742"
"shas": "11881b5991a6f8e7b67cb65911c87f3a402f24ec..ffcfce2ae2bcaca0c291db85842b2066dc5cdc2b"
}
,{
"testCaseDescription": "go-go-and-defer-statements-replacement-test",
@ -221,7 +221,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index 4eab499..0537c4b 100644",
"index 4eab4994..0537c4bc 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -1,6 +1,6 @@",
@ -235,7 +235,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e6c1eb0f6ddb3e27c5083cff96af70c09c7e0742..dfb49d4dd751f1d40548b3c85d52953646e3994b"
"shas": "ffcfce2ae2bcaca0c291db85842b2066dc5cdc2b..5effd5ba136c451a2089f79f84d493b4ff3d5eb7"
}
,{
"testCaseDescription": "go-go-and-defer-statements-delete-replacement-test",
@ -359,7 +359,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index 0537c4b..4eab499 100644",
"index 0537c4bc..4eab4994 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -1,6 +1,6 @@",
@ -373,7 +373,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "dfb49d4dd751f1d40548b3c85d52953646e3994b..5c2624886b72ecf3e4266cea1b21ddd7d5d9fe91"
"shas": "5effd5ba136c451a2089f79f84d493b4ff3d5eb7..21233b3cce09ec03a69e83b9ba56f7490242979e"
}
,{
"testCaseDescription": "go-go-and-defer-statements-delete-insert-test",
@ -419,7 +419,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index 4eab499..7905807 100644",
"index 4eab4994..79058077 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -1,6 +1,5 @@",
@ -432,7 +432,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "5c2624886b72ecf3e4266cea1b21ddd7d5d9fe91..a08f3b97f639e335b39b421cbd76191f8b5c4ada"
"shas": "21233b3cce09ec03a69e83b9ba56f7490242979e..99a64c613474b4e5b5a087090e12383cfa3d01e3"
}
,{
"testCaseDescription": "go-go-and-defer-statements-teardown-test",
@ -463,7 +463,7 @@
],
"patch": [
"diff --git a/go-and-defer-statements.go b/go-and-defer-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/go-and-defer-statements.go",
"+++ b/go-and-defer-statements.go",
"@@ -1,5 +0,0 @@",
@ -474,5 +474,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "a08f3b97f639e335b39b421cbd76191f8b5c4ada..96c7ac919c323eb7ae47923e3d286bc33091b733"
"shas": "99a64c613474b4e5b5a087090e12383cfa3d01e3..f5c165d384a677e6c9dd62f675ad2a425727fc1b"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "2be724661b34d7fbc740a5b2d599c03ed0feef47..7a27ed2d0a56f332003a0d30d5a937457b588de4"
"shas": "e13c25cd435aead827b8a09d18dfed061d9f8443..2142f8c5ea28d549c3d95d4fbc7240f2a982c798"
}
,{
"testCaseDescription": "go-grouped-import-declarations-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index 7905807..b544dde 100644",
"index 79058077..b544dded 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -1,5 +1,9 @@",
@ -85,7 +85,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "7a27ed2d0a56f332003a0d30d5a937457b588de4..a813dca879346673d61e144227e93349fea91108"
"shas": "2142f8c5ea28d549c3d95d4fbc7240f2a982c798..a3dac3f98aa22111a9cc05c861557c94a16424e4"
}
,{
"testCaseDescription": "go-grouped-import-declarations-replacement-test",
@ -182,7 +182,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index b544dde..1fd89e1 100644",
"index b544dded..1fd89e1d 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -2,8 +2,8 @@ package main",
@ -199,7 +199,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a813dca879346673d61e144227e93349fea91108..ba09c2a47ebb8573e017bc355576ca899defec60"
"shas": "a3dac3f98aa22111a9cc05c861557c94a16424e4..134a7584a9405606aacafeb0fd0598828d1cbf36"
}
,{
"testCaseDescription": "go-grouped-import-declarations-delete-replacement-test",
@ -296,7 +296,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index 1fd89e1..b544dde 100644",
"index 1fd89e1d..b544dded 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -2,8 +2,8 @@ package main",
@ -313,7 +313,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ba09c2a47ebb8573e017bc355576ca899defec60..a2916860c251980382dff40dc901e4f4dddb49a9"
"shas": "134a7584a9405606aacafeb0fd0598828d1cbf36..9e405fe54879904e09823d1e9b2bbed4e5e9bd3b"
}
,{
"testCaseDescription": "go-grouped-import-declarations-delete-insert-test",
@ -344,7 +344,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index b544dde..7905807 100644",
"index b544dded..79058077 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -1,9 +1,5 @@",
@ -360,7 +360,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a2916860c251980382dff40dc901e4f4dddb49a9..6a00b8c3d3b1ea3562446a8c5e01e802d41f0714"
"shas": "9e405fe54879904e09823d1e9b2bbed4e5e9bd3b..ea94ca3d950bdcf67eac03b133c7db6786e5a5cc"
}
,{
"testCaseDescription": "go-grouped-import-declarations-teardown-test",
@ -391,7 +391,7 @@
],
"patch": [
"diff --git a/grouped-import-declarations.go b/grouped-import-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/grouped-import-declarations.go",
"+++ b/grouped-import-declarations.go",
"@@ -1,5 +0,0 @@",
@ -402,5 +402,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "6a00b8c3d3b1ea3562446a8c5e01e802d41f0714..5ba2f3848075790efeeabe7f701b95ad6ee38727"
"shas": "ea94ca3d950bdcf67eac03b133c7db6786e5a5cc..c0adc847f9e1b5742d419af6a3cf187f57508649"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "9a02b82ed791d6093b557bde927da0db6586a141..9a3f0bd2527843c19792586940c58d9ac7cf1bb1"
"shas": "cb70743c2dadaed8a2d43a98a43b66b8e8798eed..0c67f7bfdf682cad6cdcada688fb69d426d683ae"
}
,{
"testCaseDescription": "go-grouped-var-declarations-insert-test",
@ -49,31 +49,31 @@
"span": {
"insert": {
"start": [
4,
5,
1
],
"end": [
7,
2
5,
9
]
}
},
"summary": "Added the 'zero' variable in the main function of the 'main' module"
"summary": "Added the 'zero' var assignment in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
4,
6,
1
],
"end": [
7,
2
6,
8
]
}
},
"summary": "Added the 'one' variable in the main function of the 'main' module"
"summary": "Added the 'one' var assignment in the main function of the 'main' module"
}
]
},
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index 7905807..cdb45b3 100644",
"index 79058077..cdb45b39 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -1,5 +1,8 @@",
@ -99,7 +99,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "9a3f0bd2527843c19792586940c58d9ac7cf1bb1..717fee5a815beb76286193913b4bbdb2cbd4997e"
"shas": "0c67f7bfdf682cad6cdcada688fb69d426d683ae..354ca5c919a2f3436b7c809c282a6532b583a053"
}
,{
"testCaseDescription": "go-grouped-var-declarations-replacement-test",
@ -131,7 +131,7 @@
}
]
},
"summary": "Replaced the 'zero' identifier with the 'a' identifier in the a variable of the 'main' function"
"summary": "Replaced the 'zero' identifier with the 'a' identifier in the a var assignment of the 'main' function"
},
{
"span": {
@ -158,7 +158,7 @@
}
]
},
"summary": "Replaced the 'one' identifier with the 'b' identifier in the b variable of the 'main' function"
"summary": "Replaced the 'one' identifier with the 'b' identifier in the b var assignment of the 'main' function"
}
]
},
@ -169,7 +169,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index cdb45b3..806a593 100644",
"index cdb45b39..806a5935 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -2,7 +2,7 @@ package main",
@ -184,7 +184,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "717fee5a815beb76286193913b4bbdb2cbd4997e..d8d436d648e0ccad14a54b275301bd7edbed68e1"
"shas": "354ca5c919a2f3436b7c809c282a6532b583a053..c063900c3d1db9d77acba00634f510be129c9443"
}
,{
"testCaseDescription": "go-grouped-var-declarations-delete-replacement-test",
@ -216,7 +216,7 @@
}
]
},
"summary": "Replaced the 'a' identifier with the 'zero' identifier in the zero variable of the 'main' function"
"summary": "Replaced the 'a' identifier with the 'zero' identifier in the zero var assignment of the 'main' function"
},
{
"span": {
@ -243,7 +243,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'one' identifier in the one variable of the 'main' function"
"summary": "Replaced the 'b' identifier with the 'one' identifier in the one var assignment of the 'main' function"
}
]
},
@ -254,7 +254,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index 806a593..cdb45b3 100644",
"index 806a5935..cdb45b39 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -2,7 +2,7 @@ package main",
@ -269,7 +269,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d8d436d648e0ccad14a54b275301bd7edbed68e1..41ea7fd4f753108bf67b181d950fc73642316e01"
"shas": "c063900c3d1db9d77acba00634f510be129c9443..45eb8616897c1118d23ebe88feee475446cd610d"
}
,{
"testCaseDescription": "go-grouped-var-declarations-delete-insert-test",
@ -280,31 +280,31 @@
"span": {
"delete": {
"start": [
4,
5,
1
],
"end": [
7,
2
5,
9
]
}
},
"summary": "Deleted the 'zero' variable in the main function of the 'main' module"
"summary": "Deleted the 'zero' var assignment in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
6,
1
],
"end": [
7,
2
6,
8
]
}
},
"summary": "Deleted the 'one' variable in the main function of the 'main' module"
"summary": "Deleted the 'one' var assignment in the main function of the 'main' module"
}
]
},
@ -315,7 +315,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index cdb45b3..7905807 100644",
"index cdb45b39..79058077 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -1,8 +1,5 @@",
@ -330,7 +330,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "41ea7fd4f753108bf67b181d950fc73642316e01..23ecf547fbb656484104d02b8a712af28b98f248"
"shas": "45eb8616897c1118d23ebe88feee475446cd610d..028e81a1060ccaedfc178fa007f17707f4c6312c"
}
,{
"testCaseDescription": "go-grouped-var-declarations-teardown-test",
@ -361,7 +361,7 @@
],
"patch": [
"diff --git a/grouped-var-declarations.go b/grouped-var-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/grouped-var-declarations.go",
"+++ b/grouped-var-declarations.go",
"@@ -1,5 +0,0 @@",
@ -372,5 +372,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "23ecf547fbb656484104d02b8a712af28b98f248..23874e933b13d7ac439111764b1ed1443d0a63b0"
"shas": "028e81a1060ccaedfc178fa007f17707f4c6312c..1792c5e9f49969317e3f1906a524030fa6b7f07a"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "dfd75d49293a0503061ad3227ada1bffe53a1801..87a4f408459cc4bbd7d231b2caebb9bb6e1f2a6c"
"shas": "bff82271f316995218c2faaeaf34916b251bd406..b9df9b0ac52c8c5eae6ef3592a582db24d35c5cf"
}
,{
"testCaseDescription": "go-if-statements-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index 7905807..76a6f33 100644",
"index 79058077..76a6f335 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -1,5 +1,15 @@",
@ -121,7 +121,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "87a4f408459cc4bbd7d231b2caebb9bb6e1f2a6c..5fdc927d20e9693fc774b1215c5a78f277988839"
"shas": "b9df9b0ac52c8c5eae6ef3592a582db24d35c5cf..a8c6b54e4dfcb6cdd64985ccbb076b25c06d4b41"
}
,{
"testCaseDescription": "go-if-statements-replacement-test",
@ -180,7 +180,7 @@
}
]
},
"summary": "Replaced the 'a' identifier with the 'y' identifier in the y variable of the 'main' function"
"summary": "Replaced the 'a' identifier with the 'y' identifier in the y var assignment of the 'main' function"
},
{
"span": {
@ -218,7 +218,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index 76a6f33..39dfc0d 100644",
"index 76a6f335..39dfc0da 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -1,13 +1,13 @@",
@ -240,7 +240,7 @@
" c()"
],
"gitDir": "test/corpus/repos/go",
"shas": "5fdc927d20e9693fc774b1215c5a78f277988839..a09fcffd57765103dc0da94cd9578e4b07889526"
"shas": "a8c6b54e4dfcb6cdd64985ccbb076b25c06d4b41..75f899530182b77fbcbb8bdb0e76e424c86e7d20"
}
,{
"testCaseDescription": "go-if-statements-delete-replacement-test",
@ -299,7 +299,7 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'a' identifier in the a variable of the 'main' function"
"summary": "Replaced the 'y' identifier with the 'a' identifier in the a var assignment of the 'main' function"
},
{
"span": {
@ -337,7 +337,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index 39dfc0d..76a6f33 100644",
"index 39dfc0da..76a6f335 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -1,13 +1,13 @@",
@ -359,7 +359,7 @@
" c()"
],
"gitDir": "test/corpus/repos/go",
"shas": "a09fcffd57765103dc0da94cd9578e4b07889526..3e8c784a81357341e583044ab1a266308f38909d"
"shas": "75f899530182b77fbcbb8bdb0e76e424c86e7d20..9cd570a748e700a1c6f77cc863e30505f15e847e"
}
,{
"testCaseDescription": "go-if-statements-delete-insert-test",
@ -420,7 +420,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index 76a6f33..7905807 100644",
"index 76a6f335..79058077 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -1,15 +1,5 @@",
@ -442,7 +442,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3e8c784a81357341e583044ab1a266308f38909d..6fad9d2abee221b2e8e8aaa2863ffac256a4f071"
"shas": "9cd570a748e700a1c6f77cc863e30505f15e847e..d84c26e1cd830ca5e843d39adf6bae54dc3d0a96"
}
,{
"testCaseDescription": "go-if-statements-teardown-test",
@ -473,7 +473,7 @@
],
"patch": [
"diff --git a/if-statements.go b/if-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/if-statements.go",
"+++ b/if-statements.go",
"@@ -1,5 +0,0 @@",
@ -484,5 +484,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "6fad9d2abee221b2e8e8aaa2863ffac256a4f071..d8f9557a132b5ece466963fc5cdfaf89748a45cb"
"shas": "d84c26e1cd830ca5e843d39adf6bae54dc3d0a96..225e43a556530b340ec0d61212e59a26a52d143e"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "76f08190bffba036fc899c8b7180778ed761c374..73557f695fe16d27eb9b1fc8098f03c4a9b919e0"
"shas": "519d5c9573725c473c04fe3120e7034e3e58d60a..bf51e8d5f43d5ff41a0540edf9871398531ae048"
}
,{
"testCaseDescription": "go-imaginary-literals-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index 7905807..25a97da 100644",
"index 79058077..25a97daf 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -1,5 +1,8 @@",
@ -99,7 +99,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "73557f695fe16d27eb9b1fc8098f03c4a9b919e0..0b7d6dbe051914737a78252de343f8099220d9ea"
"shas": "bf51e8d5f43d5ff41a0540edf9871398531ae048..e07bd057246071fbb2c8394ad9554378568735a9"
}
,{
"testCaseDescription": "go-imaginary-literals-replacement-test",
@ -169,7 +169,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index 25a97da..151a533 100644",
"index 25a97daf..151a5338 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -2,7 +2,7 @@ package main",
@ -184,7 +184,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "0b7d6dbe051914737a78252de343f8099220d9ea..0949c5bc9b2db32638751fdd8adf85141aaf671e"
"shas": "e07bd057246071fbb2c8394ad9554378568735a9..12fbee2f9d2d61032d30d3efd646b9d0bcabec89"
}
,{
"testCaseDescription": "go-imaginary-literals-delete-replacement-test",
@ -254,7 +254,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index 151a533..25a97da 100644",
"index 151a5338..25a97daf 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -2,7 +2,7 @@ package main",
@ -269,7 +269,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "0949c5bc9b2db32638751fdd8adf85141aaf671e..13ce221827e5ffc32a3c99f95908373f67687e9c"
"shas": "12fbee2f9d2d61032d30d3efd646b9d0bcabec89..450101220dfaa4e8d1309e777f37c28be5984036"
}
,{
"testCaseDescription": "go-imaginary-literals-delete-insert-test",
@ -315,7 +315,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index 25a97da..7905807 100644",
"index 25a97daf..79058077 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -1,8 +1,5 @@",
@ -330,7 +330,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "13ce221827e5ffc32a3c99f95908373f67687e9c..856d716acddaf6e7e91667c5627f39bc32477b7c"
"shas": "450101220dfaa4e8d1309e777f37c28be5984036..9524c3d825a433b7f37fda8a3bc7087ea72dc27e"
}
,{
"testCaseDescription": "go-imaginary-literals-teardown-test",
@ -361,7 +361,7 @@
],
"patch": [
"diff --git a/imaginary-literals.go b/imaginary-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/imaginary-literals.go",
"+++ b/imaginary-literals.go",
"@@ -1,5 +0,0 @@",
@ -372,5 +372,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "856d716acddaf6e7e91667c5627f39bc32477b7c..82995a356477b94c28f13f84e7c705e71bb610b2"
"shas": "9524c3d825a433b7f37fda8a3bc7087ea72dc27e..b72df7d6c7aedd3d34dd3b2f0aa0547d69e1ffe1"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "c9a9d49e044e5b64775ec487246b85b33366c7ef..ed31e99a07fef5e5f51b6129f70be9a0a8a9b0d0"
"shas": "4764f0b232e8367debef70ecac0a94929337a68a..f98c5a9fce99471b5d490327b42abd10a978fc03"
}
,{
"testCaseDescription": "go-increment-decrement-statements-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index 7905807..18bf03a 100644",
"index 79058077..18bf03a2 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -1,5 +1,6 @@",
@ -97,7 +97,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ed31e99a07fef5e5f51b6129f70be9a0a8a9b0d0..58b193bc73886f738f5e951003cc425539ef4751"
"shas": "f98c5a9fce99471b5d490327b42abd10a978fc03..180655c41e89448d3d7c60de071efde2a95b2166"
}
,{
"testCaseDescription": "go-increment-decrement-statements-replacement-test",
@ -170,7 +170,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index 18bf03a..08611ad 100644",
"index 18bf03a2..08611ad4 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -1,6 +1,6 @@",
@ -184,7 +184,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "58b193bc73886f738f5e951003cc425539ef4751..8c5c4c68750bb280aac9fad4ab617b02c1f6ac91"
"shas": "180655c41e89448d3d7c60de071efde2a95b2166..46622ad51c52fa32671943fe75a052b9c3a04e04"
}
,{
"testCaseDescription": "go-increment-decrement-statements-delete-replacement-test",
@ -257,7 +257,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index 08611ad..18bf03a 100644",
"index 08611ad4..18bf03a2 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -1,6 +1,6 @@",
@ -271,7 +271,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "8c5c4c68750bb280aac9fad4ab617b02c1f6ac91..30ec9ab14db83f8dff1e2f4e6bac4afa142999fa"
"shas": "46622ad51c52fa32671943fe75a052b9c3a04e04..1f3e39f5f9372b2bd2876baef4b2c4e851de85b7"
}
,{
"testCaseDescription": "go-increment-decrement-statements-delete-insert-test",
@ -317,7 +317,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index 18bf03a..7905807 100644",
"index 18bf03a2..79058077 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -1,6 +1,5 @@",
@ -330,7 +330,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "30ec9ab14db83f8dff1e2f4e6bac4afa142999fa..9fc69ff7192756049ed8340b2291b16e606eddc3"
"shas": "1f3e39f5f9372b2bd2876baef4b2c4e851de85b7..634309d6d6552cec2d5403d11a739a47454c2729"
}
,{
"testCaseDescription": "go-increment-decrement-statements-teardown-test",
@ -361,7 +361,7 @@
],
"patch": [
"diff --git a/increment-decrement-statements.go b/increment-decrement-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/increment-decrement-statements.go",
"+++ b/increment-decrement-statements.go",
"@@ -1,5 +0,0 @@",
@ -372,5 +372,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "9fc69ff7192756049ed8340b2291b16e606eddc3..eef71e601dedc3cbd9ffbf3df7babb7bfc056cac"
"shas": "634309d6d6552cec2d5403d11a739a47454c2729..e8c4a8ad03eecb6092ebec8fd2debf608c6c8b60"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "1a4aae0bafb6ad2a25b31b59421b337616dcbfd9..46673b0f84268bdcc0dda8104526874b70b2884c"
"shas": "efcf789858ec7ef3093d8b8c90b40e9590b8a605..f69740ac9317c7f1177454ce1e08a67b254bb9b9"
}
,{
"testCaseDescription": "go-indexing-expressions-insert-test",
@ -58,7 +58,7 @@
]
}
},
"summary": "Added the 'a[1]' subscript access in the main function of the 'main' module"
"summary": "Added the 'a[1]' index expression in the main function of the 'main' module"
},
{
"span": {
@ -144,7 +144,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index 7905807..c2c7693 100644",
"index 79058077..c2c76934 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -1,5 +1,10 @@",
@ -161,7 +161,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "46673b0f84268bdcc0dda8104526874b70b2884c..32b42936718bd32bec18310648de26048d5c4612"
"shas": "f69740ac9317c7f1177454ce1e08a67b254bb9b9..36a0bad549c1bba7a60c59d2773ed420937a6b5b"
}
,{
"testCaseDescription": "go-indexing-expressions-replacement-test",
@ -226,7 +226,7 @@
]
}
},
"summary": "Deleted the 'a[1]' subscript access in the main function of the 'main' module"
"summary": "Deleted the 'a[1]' index expression in the main function of the 'main' module"
},
{
"span": {
@ -267,7 +267,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index c2c7693..68a7634 100644",
"index c2c76934..68a76340 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -1,9 +1,9 @@",
@ -285,7 +285,7 @@
" f[1:2:3]"
],
"gitDir": "test/corpus/repos/go",
"shas": "32b42936718bd32bec18310648de26048d5c4612..9255e00abb10febd00ecfa015fb6e0a9957ee435"
"shas": "36a0bad549c1bba7a60c59d2773ed420937a6b5b..4bf1febcaf31ccc283c7f6a436de0503d6ced94f"
}
,{
"testCaseDescription": "go-indexing-expressions-delete-replacement-test",
@ -305,7 +305,7 @@
]
}
},
"summary": "Added the 'a[1]' subscript access in the main function of the 'main' module"
"summary": "Added the 'a[1]' index expression in the main function of the 'main' module"
},
{
"span": {
@ -400,7 +400,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index 68a7634..c2c7693 100644",
"index 68a76340..c2c76934 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -1,9 +1,9 @@",
@ -418,7 +418,7 @@
" f[1:2:3]"
],
"gitDir": "test/corpus/repos/go",
"shas": "9255e00abb10febd00ecfa015fb6e0a9957ee435..2cbaa0c8dbc25e1ed464f14c8e9f7eeda2768112"
"shas": "4bf1febcaf31ccc283c7f6a436de0503d6ced94f..7eec09a12df35db5e1152687d5ed7c2ef0c53ff2"
}
,{
"testCaseDescription": "go-indexing-expressions-delete-insert-test",
@ -438,7 +438,7 @@
]
}
},
"summary": "Deleted the 'a[1]' subscript access in the main function of the 'main' module"
"summary": "Deleted the 'a[1]' index expression in the main function of the 'main' module"
},
{
"span": {
@ -524,7 +524,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index c2c7693..7905807 100644",
"index c2c76934..79058077 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -1,10 +1,5 @@",
@ -541,7 +541,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "2cbaa0c8dbc25e1ed464f14c8e9f7eeda2768112..e019086de4e2d426cb0f65c77fc0386b3d2faaec"
"shas": "7eec09a12df35db5e1152687d5ed7c2ef0c53ff2..f1621a2c7b5589d3c476c11201d2769500d891c0"
}
,{
"testCaseDescription": "go-indexing-expressions-teardown-test",
@ -572,7 +572,7 @@
],
"patch": [
"diff --git a/indexing-expressions.go b/indexing-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/indexing-expressions.go",
"+++ b/indexing-expressions.go",
"@@ -1,5 +0,0 @@",
@ -583,5 +583,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "e019086de4e2d426cb0f65c77fc0386b3d2faaec..aff56e988571d418e1187aa51b5aa4d25cc850e8"
"shas": "f1621a2c7b5589d3c476c11201d2769500d891c0..dfd96daa75b1b404d313721c1f5304a9c39ed793"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,38 +38,38 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "5ba2f3848075790efeeabe7f701b95ad6ee38727..086f40d0e9e70592aad3b00b34f5972867bc65e0"
"shas": "c0adc847f9e1b5742d419af6a3cf187f57508649..bfb44abd3bffe13b04cda4f32a0c51cc292a1031"
}
,{
"testCaseDescription": "go-int-literals-insert-test",
"expectedResult": {
"changes": {
"changes": {},
"errors": {
"int-literals.go": [
{
"span": {
"insert": {
"start": [
4,
5,
1
],
"end": [
6,
2
5,
20
]
}
},
"summary": "Added the 'a' var assignment in the main function of the 'main' module"
"summary": "Added 'a = 1, b = 2, c = 3' at line 5, column 1 - line 5, column 20 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"int-literals.go"
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index 7905807..38d36ec 100644",
"index 79058077..38d36eca 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -1,5 +1,7 @@",
@ -83,7 +83,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "086f40d0e9e70592aad3b00b34f5972867bc65e0..f6c2316cfb1f6f413a6b30ed3d0834eda9593b6b"
"shas": "bfb44abd3bffe13b04cda4f32a0c51cc292a1031..48fa4fb228277e65e6eb005f17274871dd840c58"
}
,{
"testCaseDescription": "go-int-literals-replacement-test",
@ -180,7 +180,7 @@
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index 38d36ec..4f07c13 100644",
"index 38d36eca..4f07c130 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -2,6 +2,6 @@ package main",
@ -193,7 +193,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f6c2316cfb1f6f413a6b30ed3d0834eda9593b6b..a9d1d1fd6e404f3ee3fc361d450de78efb66add9"
"shas": "48fa4fb228277e65e6eb005f17274871dd840c58..7b85d91ef10226bded6d06851b9cb44e2b1f1d87"
}
,{
"testCaseDescription": "go-int-literals-delete-replacement-test",
@ -290,7 +290,7 @@
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index 4f07c13..38d36ec 100644",
"index 4f07c130..38d36eca 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -2,6 +2,6 @@ package main",
@ -303,38 +303,38 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a9d1d1fd6e404f3ee3fc361d450de78efb66add9..b3b92011b9dc87dec6cd7d487b5d8b79790ad9c9"
"shas": "7b85d91ef10226bded6d06851b9cb44e2b1f1d87..0487efe8f38066a01c5a271a09cf1c55a477d9c8"
}
,{
"testCaseDescription": "go-int-literals-delete-insert-test",
"expectedResult": {
"changes": {
"changes": {},
"errors": {
"int-literals.go": [
{
"span": {
"delete": {
"start": [
4,
5,
1
],
"end": [
6,
2
5,
20
]
}
},
"summary": "Deleted the 'a' var assignment in the main function of the 'main' module"
"summary": "Deleted 'a = 1, b = 2, c = 3' at line 5, column 1 - line 5, column 20 in the main function of the 'main' module"
}
]
},
"errors": {}
}
},
"filePaths": [
"int-literals.go"
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index 38d36ec..7905807 100644",
"index 38d36eca..79058077 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -1,7 +1,5 @@",
@ -348,7 +348,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b3b92011b9dc87dec6cd7d487b5d8b79790ad9c9..0d57e34f436f54fc54b73bd8f1e375727a29d6a2"
"shas": "0487efe8f38066a01c5a271a09cf1c55a477d9c8..903719a2bca385ff350962fe10a7a7134df4a85f"
}
,{
"testCaseDescription": "go-int-literals-teardown-test",
@ -379,7 +379,7 @@
],
"patch": [
"diff --git a/int-literals.go b/int-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/int-literals.go",
"+++ b/int-literals.go",
"@@ -1,5 +0,0 @@",
@ -390,5 +390,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "0d57e34f436f54fc54b73bd8f1e375727a29d6a2..efd0c3cb1a849ee204223f8b2e77cc03fabdd406"
"shas": "903719a2bca385ff350962fe10a7a7134df4a85f..20fa55e7535a6b1108c324529279f2e8b490ca41"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "11cf3406e727046a2188e45a78cc38790f87bac9..a3f66104ce9afef3c20e0185619ba1873a0a586d"
"shas": "455468cd0dec3510c76e0db4e450171890bcb2bd..2dfabd25cdb452a47bdd9682465ed19284d1f4b9"
}
,{
"testCaseDescription": "go-interface-types-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index 7905807..9b2ca4a 100644",
"index 79058077..9b2ca4a9 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -1,5 +1,11 @@",
@ -117,7 +117,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a3f66104ce9afef3c20e0185619ba1873a0a586d..41ddf38ca26375355d248d1fa284485300077830"
"shas": "2dfabd25cdb452a47bdd9682465ed19284d1f4b9..921114380da3f18028e89107e2232c72c4e77908"
}
,{
"testCaseDescription": "go-interface-types-replacement-test",
@ -149,7 +149,7 @@
}
]
},
"summary": "Replaced the 'i1' identifier with the 'j1' identifier in the j1 type declaration of the 'main' function"
"summary": "Replaced the 'i1' identifier with the 'j1' identifier in the 'j1' type declaration of the 'main' function"
},
{
"span": {
@ -176,7 +176,7 @@
}
]
},
"summary": "Replaced the 'i2' identifier with the 'j2' identifier in the j2 type declaration of the 'main' function"
"summary": "Replaced the 'i2' identifier with the 'j2' identifier in the 'j2' type declaration of the 'main' function"
},
{
"span": {
@ -203,7 +203,7 @@
}
]
},
"summary": "Replaced the 'i3' identifier with the 'j3' identifier in the j3 type declaration of the 'main' function"
"summary": "Replaced the 'i3' identifier with the 'j3' identifier in the 'j3' type declaration of the 'main' function"
}
]
},
@ -214,7 +214,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index 9b2ca4a..cba5600 100644",
"index 9b2ca4a9..cba5600b 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -1,9 +1,9 @@",
@ -232,7 +232,7 @@
" SomeMethod(s string) error"
],
"gitDir": "test/corpus/repos/go",
"shas": "41ddf38ca26375355d248d1fa284485300077830..1a558345b4b4e0a62892accdbe049c11c385c764"
"shas": "921114380da3f18028e89107e2232c72c4e77908..69718986124fe682b3ad8a5b75cd32b32744c83a"
}
,{
"testCaseDescription": "go-interface-types-delete-replacement-test",
@ -264,7 +264,7 @@
}
]
},
"summary": "Replaced the 'j1' identifier with the 'i1' identifier in the i1 type declaration of the 'main' function"
"summary": "Replaced the 'j1' identifier with the 'i1' identifier in the 'i1' type declaration of the 'main' function"
},
{
"span": {
@ -291,7 +291,7 @@
}
]
},
"summary": "Replaced the 'j2' identifier with the 'i2' identifier in the i2 type declaration of the 'main' function"
"summary": "Replaced the 'j2' identifier with the 'i2' identifier in the 'i2' type declaration of the 'main' function"
},
{
"span": {
@ -318,7 +318,7 @@
}
]
},
"summary": "Replaced the 'j3' identifier with the 'i3' identifier in the i3 type declaration of the 'main' function"
"summary": "Replaced the 'j3' identifier with the 'i3' identifier in the 'i3' type declaration of the 'main' function"
}
]
},
@ -329,7 +329,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index cba5600..9b2ca4a 100644",
"index cba5600b..9b2ca4a9 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -1,9 +1,9 @@",
@ -347,7 +347,7 @@
" SomeMethod(s string) error"
],
"gitDir": "test/corpus/repos/go",
"shas": "1a558345b4b4e0a62892accdbe049c11c385c764..43938ac5100947f7aeaa1521f7773e8d910589ad"
"shas": "69718986124fe682b3ad8a5b75cd32b32744c83a..4ede55ed0271d6ef42e3211f471fec6a710f85e0"
}
,{
"testCaseDescription": "go-interface-types-delete-insert-test",
@ -408,7 +408,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index 9b2ca4a..7905807 100644",
"index 9b2ca4a9..79058077 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -1,11 +1,5 @@",
@ -426,7 +426,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "43938ac5100947f7aeaa1521f7773e8d910589ad..e31e08f0c0efea5a9533c076899a0d4ab52393f7"
"shas": "4ede55ed0271d6ef42e3211f471fec6a710f85e0..8ef05e1c54ee90cc3507bf41b22a8c0eae1fd2dc"
}
,{
"testCaseDescription": "go-interface-types-teardown-test",
@ -457,7 +457,7 @@
],
"patch": [
"diff --git a/interface-types.go b/interface-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/interface-types.go",
"+++ b/interface-types.go",
"@@ -1,5 +0,0 @@",
@ -468,5 +468,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "e31e08f0c0efea5a9533c076899a0d4ab52393f7..b17f874e5668626df1e610dca63f9a5cdf2d582a"
"shas": "8ef05e1c54ee90cc3507bf41b22a8c0eae1fd2dc..bb16dfebd2cf22d0a6a4b678def6ab83f4ff7111"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "96c7ac919c323eb7ae47923e3d286bc33091b733..d76b5225089f9faa2958a5ab161a2249611011d1"
"shas": "f5c165d384a677e6c9dd62f675ad2a425727fc1b..941f5b383f4d8731a3166cbcf9e4ccae08fc31b3"
}
,{
"testCaseDescription": "go-label-statements-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index 7905807..b0a2969 100644",
"index 79058077..b0a29697 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -1,5 +1,7 @@",
@ -83,7 +83,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d76b5225089f9faa2958a5ab161a2249611011d1..c127745cde55bf842c216f88f950bdd2ca2d8328"
"shas": "941f5b383f4d8731a3166cbcf9e4ccae08fc31b3..c8d01af4bbb83701994bff7a2d0fed915b716f47"
}
,{
"testCaseDescription": "go-label-statements-replacement-test",
@ -126,7 +126,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index b0a2969..3d3cf16 100644",
"index b0a29697..3d3cf164 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -2,6 +2,6 @@ package main",
@ -139,7 +139,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c127745cde55bf842c216f88f950bdd2ca2d8328..d1bf058ffa540c05e2ef019ea8c41a4eb9587e1b"
"shas": "c8d01af4bbb83701994bff7a2d0fed915b716f47..fc88a79bf371a0283adc58ed3d6f1965bbd14588"
}
,{
"testCaseDescription": "go-label-statements-delete-replacement-test",
@ -182,7 +182,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index 3d3cf16..b0a2969 100644",
"index 3d3cf164..b0a29697 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -2,6 +2,6 @@ package main",
@ -195,7 +195,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d1bf058ffa540c05e2ef019ea8c41a4eb9587e1b..e9fdb354e62eb05a072a6e6fa6390a2e1621be58"
"shas": "fc88a79bf371a0283adc58ed3d6f1965bbd14588..b98014dc5522ced55efe0b6247ada3ab5e61ced5"
}
,{
"testCaseDescription": "go-label-statements-delete-insert-test",
@ -226,7 +226,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index b0a2969..7905807 100644",
"index b0a29697..79058077 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -1,7 +1,5 @@",
@ -240,7 +240,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e9fdb354e62eb05a072a6e6fa6390a2e1621be58..296ef5c2694f2d9d95288a9370b750630ece66a8"
"shas": "b98014dc5522ced55efe0b6247ada3ab5e61ced5..cc685325e28d93f180825fc6c146683dd737740b"
}
,{
"testCaseDescription": "go-label-statements-teardown-test",
@ -271,7 +271,7 @@
],
"patch": [
"diff --git a/label-statements.go b/label-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/label-statements.go",
"+++ b/label-statements.go",
"@@ -1,5 +0,0 @@",
@ -282,5 +282,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "296ef5c2694f2d9d95288a9370b750630ece66a8..ca65d40f5449d0d764090c6fc3b7a4a72934eb41"
"shas": "cc685325e28d93f180825fc6c146683dd737740b..7e709244cbc4d9615862a904b12d8142fd55c570"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "261a5e2932b5820448fae2f0a1afcef36285490f..8f479284b0d20c14b3746304b6ddab99bcfa7761"
"shas": "2e644ec4917f498d0e54dceebba8fc96f3610076..adca002ce1a6b5b52ba2e078e9c8697d6a73cab6"
}
,{
"testCaseDescription": "go-map-literals-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index 7905807..bb99b5b 100644",
"index 79058077..bb99b5ba 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -1,5 +1,8 @@",
@ -84,7 +84,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "8f479284b0d20c14b3746304b6ddab99bcfa7761..1eb7e10b4b043627b32963b426c76113849ccda2"
"shas": "adca002ce1a6b5b52ba2e078e9c8697d6a73cab6..6fd4abab86ad84c5ba9cf30822d8b2ead4a821e9"
}
,{
"testCaseDescription": "go-map-literals-replacement-test",
@ -214,7 +214,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index bb99b5b..a9e0b66 100644",
"index bb99b5ba..a9e0b664 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -1,8 +1,8 @@",
@ -231,7 +231,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1eb7e10b4b043627b32963b426c76113849ccda2..680a4bf433a347bf9a3df3e50411b529bd4e52ac"
"shas": "6fd4abab86ad84c5ba9cf30822d8b2ead4a821e9..3999487cbaa8adb4c375c77450798ad0048414c7"
}
,{
"testCaseDescription": "go-map-literals-delete-replacement-test",
@ -382,7 +382,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index a9e0b66..bb99b5b 100644",
"index a9e0b664..bb99b5ba 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -1,8 +1,8 @@",
@ -399,7 +399,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "680a4bf433a347bf9a3df3e50411b529bd4e52ac..cdfebf813f586881387f488b433420e893707459"
"shas": "3999487cbaa8adb4c375c77450798ad0048414c7..4b99e0ce40969f3717b641fb19397a5850549a35"
}
,{
"testCaseDescription": "go-map-literals-delete-insert-test",
@ -430,7 +430,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index bb99b5b..7905807 100644",
"index bb99b5ba..79058077 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -1,8 +1,5 @@",
@ -445,7 +445,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "cdfebf813f586881387f488b433420e893707459..252f78cf6d6a490428362bf74ed220115990427c"
"shas": "4b99e0ce40969f3717b641fb19397a5850549a35..487e72258c293674171936bda336af8608b520cc"
}
,{
"testCaseDescription": "go-map-literals-teardown-test",
@ -476,7 +476,7 @@
],
"patch": [
"diff --git a/map-literals.go b/map-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/map-literals.go",
"+++ b/map-literals.go",
"@@ -1,5 +0,0 @@",
@ -487,5 +487,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "252f78cf6d6a490428362bf74ed220115990427c..55db2fe06bab1194ac40bdfd7dc8bca5d8f62fed"
"shas": "487e72258c293674171936bda336af8608b520cc..4f3eb8976a8ac9e5e89274c170e48accd9770aa5"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "b17f874e5668626df1e610dca63f9a5cdf2d582a..965ecb88c6339b760cf368a25a1226add02c92de"
"shas": "bb16dfebd2cf22d0a6a4b678def6ab83f4ff7111..235fbfb81bf1c4bd7549c1b2b5ec684ae24cc3b0"
}
,{
"testCaseDescription": "go-map-types-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index 7905807..01004b3 100644",
"index 79058077..01004b30 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "965ecb88c6339b760cf368a25a1226add02c92de..e46d27cdd70491f0ba360e6ffa66bf29cf76b0ee"
"shas": "235fbfb81bf1c4bd7549c1b2b5ec684ae24cc3b0..9fb21621ef7e4f86bad848b919e0004d821dca0d"
}
,{
"testCaseDescription": "go-map-types-replacement-test",
@ -113,7 +113,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the m1 type declaration of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the 'm1' type declaration of the 'main' function"
}
]
},
@ -124,7 +124,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index 01004b3..a118e92 100644",
"index 01004b30..a118e920 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -1,5 +1,5 @@",
@ -136,7 +136,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e46d27cdd70491f0ba360e6ffa66bf29cf76b0ee..4294a610fcede5e7976f45326e43f526c3589178"
"shas": "9fb21621ef7e4f86bad848b919e0004d821dca0d..44cca56715527af24c778e2bd33acbc7df416987"
}
,{
"testCaseDescription": "go-map-types-delete-replacement-test",
@ -168,7 +168,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the m1 type declaration of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the 'm1' type declaration of the 'main' function"
}
]
},
@ -179,7 +179,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index a118e92..01004b3 100644",
"index a118e920..01004b30 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -1,5 +1,5 @@",
@ -191,7 +191,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "4294a610fcede5e7976f45326e43f526c3589178..2dae5dd3c51bde0375a4fe449c2900649090dd7b"
"shas": "44cca56715527af24c778e2bd33acbc7df416987..0c11180331a60f5f9e8f9389134eb5b9abae22cd"
}
,{
"testCaseDescription": "go-map-types-delete-insert-test",
@ -222,7 +222,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index 01004b3..7905807 100644",
"index 01004b30..79058077 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -1,5 +1,5 @@",
@ -234,7 +234,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "2dae5dd3c51bde0375a4fe449c2900649090dd7b..90079c2b3c3154dd08c972e41e136af964b30269"
"shas": "0c11180331a60f5f9e8f9389134eb5b9abae22cd..cdde337d130053d7fdbcdf6ecf9ff53fc3c7336c"
}
,{
"testCaseDescription": "go-map-types-teardown-test",
@ -265,7 +265,7 @@
],
"patch": [
"diff --git a/map-types.go b/map-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/map-types.go",
"+++ b/map-types.go",
"@@ -1,5 +0,0 @@",
@ -276,5 +276,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "90079c2b3c3154dd08c972e41e136af964b30269..865c3f97baa36461f5eb2f76fc7430d414ad1e73"
"shas": "cdde337d130053d7fdbcdf6ecf9ff53fc3c7336c..2228b93a5547cbf279232cca2a5e99e5bc8d4a36"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index e69de29..6aaca9e 100644",
"index e69de29b..6aaca9ef 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "a5baa11113f4c2c8c2339966a5181d4cf9c7968e..52bd77125bac9ce9d832d48a78023ce3f47758fc"
"shas": "83cac4414da5f44822d05ce3fde8639f0ab7cf89..c28e61255b094acffb41a776ef86c53589c3dd91"
}
,{
"testCaseDescription": "go-method-declarations-insert-test",
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index 6aaca9e..e556c01 100644",
"index 6aaca9ef..e556c016 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -2,4 +2,4 @@ package main",
@ -140,7 +140,7 @@
"+func (self Person) Equals(other Person) bool {}"
],
"gitDir": "test/corpus/repos/go",
"shas": "52bd77125bac9ce9d832d48a78023ce3f47758fc..cc6919c6926467e5212f149c10ce49e492b9c232"
"shas": "c28e61255b094acffb41a776ef86c53589c3dd91..367ed81133123fc6f554020a49189820d0a686f6"
}
,{
"testCaseDescription": "go-method-declarations-replacement-test",
@ -210,7 +210,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index e556c01..1be6d20 100644",
"index e556c016..1be6d205 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -2,4 +2,4 @@ package main",
@ -221,7 +221,7 @@
"+func (self Num) Equals(other Num) bool {}"
],
"gitDir": "test/corpus/repos/go",
"shas": "cc6919c6926467e5212f149c10ce49e492b9c232..c0596b127609ef5dc831ef64b82febcdb137df0b"
"shas": "367ed81133123fc6f554020a49189820d0a686f6..34681b7f1dc7a52f7d96c35ca557f26c006f5ff0"
}
,{
"testCaseDescription": "go-method-declarations-delete-replacement-test",
@ -291,7 +291,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index 1be6d20..e556c01 100644",
"index 1be6d205..e556c016 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -2,4 +2,4 @@ package main",
@ -302,7 +302,7 @@
"+func (self Person) Equals(other Person) bool {}"
],
"gitDir": "test/corpus/repos/go",
"shas": "c0596b127609ef5dc831ef64b82febcdb137df0b..734650def0d935f51548199c53e5d69355e12c7c"
"shas": "34681b7f1dc7a52f7d96c35ca557f26c006f5ff0..435987041ecbec577e1820a17a84881f83cafd37"
}
,{
"testCaseDescription": "go-method-declarations-delete-insert-test",
@ -393,7 +393,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index e556c01..6aaca9e 100644",
"index e556c016..6aaca9ef 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -2,4 +2,4 @@ package main",
@ -404,7 +404,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "734650def0d935f51548199c53e5d69355e12c7c..075d8e24f9564e0ca06a9dc98c7c16464ef161a8"
"shas": "435987041ecbec577e1820a17a84881f83cafd37..daa8ffc610f5206f356662ab8c7f1ed6127289fb"
}
,{
"testCaseDescription": "go-method-declarations-teardown-test",
@ -435,7 +435,7 @@
],
"patch": [
"diff --git a/method-declarations.go b/method-declarations.go",
"index 6aaca9e..e69de29 100644",
"index 6aaca9ef..e69de29b 100644",
"--- a/method-declarations.go",
"+++ b/method-declarations.go",
"@@ -1,5 +0,0 @@",
@ -446,5 +446,5 @@
"-"
],
"gitDir": "test/corpus/repos/go",
"shas": "075d8e24f9564e0ca06a9dc98c7c16464ef161a8..4350b0252bd440416945effa2baa1821271fefee"
"shas": "daa8ffc610f5206f356662ab8c7f1ed6127289fb..326274c668eeea07035e2a234abe09209887b6df"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index e69de29..a92cefe 100644",
"index e69de29b..a92cefed 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -0,0 +1,6 @@",
@ -39,7 +39,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "5c786b1fb33685e71b27253120b0f1650e48a1bb..af3eb853b10ec58da211ffcff96b702f045c200d"
"shas": "fd5434c4a598d8b1f6d8bec1f592b6a3204a5111..7b649af522a8f17b3e67fcc948ce2ade2710fa39"
}
,{
"testCaseDescription": "go-parameter-declarations-with-types-insert-test",
@ -70,7 +70,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index a92cefe..ed6bff2 100644",
"index a92cefed..ed6bff2d 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -3,4 +3,5 @@ package main",
@ -82,7 +82,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "af3eb853b10ec58da211ffcff96b702f045c200d..cd54d1e4fe94ad8e33d125e668de9e5381d95493"
"shas": "7b649af522a8f17b3e67fcc948ce2ade2710fa39..5a06e89b52643137486b4f20adae2d986da96674"
}
,{
"testCaseDescription": "go-parameter-declarations-with-types-replacement-test",
@ -206,7 +206,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index ed6bff2..fcb6a30 100644",
"index ed6bff2d..fcb6a303 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -3,5 +3,5 @@ package main",
@ -218,7 +218,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "cd54d1e4fe94ad8e33d125e668de9e5381d95493..ae784c0594e1f664dfbe488e80e0afc80e2203b9"
"shas": "5a06e89b52643137486b4f20adae2d986da96674..27f168822a183a342cf72229846441d147078750"
}
,{
"testCaseDescription": "go-parameter-declarations-with-types-delete-replacement-test",
@ -227,30 +227,18 @@
"parameter-declarations-with-types.go": [
{
"span": {
"replace": [
{
"start": [
6,
12
],
"end": [
6,
18
]
},
{
"start": [
6,
12
],
"end": [
6,
15
]
}
]
"insert": {
"start": [
6,
10
],
"end": [
6,
15
]
}
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the foo function of the 'main' module"
"summary": "Added the 'a int' parameter declaration in the foo function of the 'main' module"
},
{
"span": {
@ -265,60 +253,6 @@
11
]
},
{
"start": [
6,
10
],
"end": [
6,
11
]
}
]
},
"summary": "Replaced the 'x' identifier with the 'a' identifier in the foo function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
6,
22
],
"end": [
6,
28
]
},
{
"start": [
6,
19
],
"end": [
6,
25
]
}
]
},
"summary": "Replaced the 'uint64' identifier with the 'string' identifier in the foo function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
6,
20
],
"end": [
6,
21
]
},
{
"start": [
6,
@ -331,7 +265,22 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'b' identifier in the foo function of the 'main' module"
"summary": "Replaced the 'x' identifier with the 'b' identifier in the foo function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
20
],
"end": [
6,
28
]
}
},
"summary": "Deleted the 'y uint64' parameter declaration in the foo function of the 'main' module"
}
]
},
@ -342,7 +291,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index fcb6a30..ed6bff2 100644",
"index fcb6a303..ed6bff2d 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -3,5 +3,5 @@ package main",
@ -354,7 +303,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ae784c0594e1f664dfbe488e80e0afc80e2203b9..241197ec3917aeb4bc76bed4cdb9ed0816b5c37f"
"shas": "27f168822a183a342cf72229846441d147078750..c61a05221f379541da8a98c2accc0b523d29b7c5"
}
,{
"testCaseDescription": "go-parameter-declarations-with-types-delete-insert-test",
@ -385,7 +334,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index ed6bff2..a92cefe 100644",
"index ed6bff2d..a92cefed 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -3,5 +3,4 @@ package main",
@ -397,7 +346,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "241197ec3917aeb4bc76bed4cdb9ed0816b5c37f..0c1182ceeae7328bd67ca3d2be06e2ebce7e7a91"
"shas": "c61a05221f379541da8a98c2accc0b523d29b7c5..47f3e74639087c2440295ea3283d93038622b3bc"
}
,{
"testCaseDescription": "go-parameter-declarations-with-types-teardown-test",
@ -428,7 +377,7 @@
],
"patch": [
"diff --git a/parameter-declarations-with-types.go b/parameter-declarations-with-types.go",
"index a92cefe..e69de29 100644",
"index a92cefed..e69de29b 100644",
"--- a/parameter-declarations-with-types.go",
"+++ b/parameter-declarations-with-types.go",
"@@ -1,6 +0,0 @@",
@ -440,5 +389,5 @@
"-"
],
"gitDir": "test/corpus/repos/go",
"shas": "0c1182ceeae7328bd67ca3d2be06e2ebce7e7a91..d0e8fa28dbe14b07ba2bc419936874f024f1fef7"
"shas": "47f3e74639087c2440295ea3283d93038622b3bc..cfba7fb4dab92b06358eb946d4630dd6acfe18d9"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "865c3f97baa36461f5eb2f76fc7430d414ad1e73..720656a1de060a0e67c516d77ba60f06009d5d29"
"shas": "2228b93a5547cbf279232cca2a5e99e5bc8d4a36..893618efbc78d347903eebf0ce5adc6172f004ae"
}
,{
"testCaseDescription": "go-pointer-types-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index 7905807..98e7b8a 100644",
"index 79058077..98e7b8a9 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -1,5 +1,8 @@",
@ -99,7 +99,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "720656a1de060a0e67c516d77ba60f06009d5d29..f0fd10f5b90c19b0e59a9ac80f26e74834f8cc54"
"shas": "893618efbc78d347903eebf0ce5adc6172f004ae..27be8453b86152e3f2e8d220c026a4369e81caa3"
}
,{
"testCaseDescription": "go-pointer-types-replacement-test",
@ -131,7 +131,7 @@
}
]
},
"summary": "Replaced the 'string' identifier with the 'int' identifier in the p1 type declaration of the 'main' function"
"summary": "Replaced the 'string' identifier with the 'int' identifier in the *int pointer type of the 'main' function"
},
{
"span": {
@ -158,7 +158,7 @@
}
]
},
"summary": "Replaced the 'p1' identifier with the 'p3' identifier in the p2 type declaration of the 'main' function"
"summary": "Replaced the 'p1' identifier with the 'p3' identifier in the *p3 pointer type of the 'main' function"
}
]
},
@ -169,7 +169,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index 98e7b8a..36eb5ff 100644",
"index 98e7b8a9..36eb5ffb 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -2,7 +2,7 @@ package main",
@ -184,7 +184,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f0fd10f5b90c19b0e59a9ac80f26e74834f8cc54..3e83a05802ed1a203f5f654f089047788c7dce62"
"shas": "27be8453b86152e3f2e8d220c026a4369e81caa3..f6d73da5d1089add2909c2bad9f89e675d3fe46c"
}
,{
"testCaseDescription": "go-pointer-types-delete-replacement-test",
@ -216,7 +216,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'string' identifier in the p1 type declaration of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'string' identifier in the *string pointer type of the 'main' function"
},
{
"span": {
@ -243,7 +243,7 @@
}
]
},
"summary": "Replaced the 'p3' identifier with the 'p1' identifier in the p2 type declaration of the 'main' function"
"summary": "Replaced the 'p3' identifier with the 'p1' identifier in the *p1 pointer type of the 'main' function"
}
]
},
@ -254,7 +254,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index 36eb5ff..98e7b8a 100644",
"index 36eb5ffb..98e7b8a9 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -2,7 +2,7 @@ package main",
@ -269,7 +269,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3e83a05802ed1a203f5f654f089047788c7dce62..0eedf900af78875379b8c006ef139823017a6ac7"
"shas": "f6d73da5d1089add2909c2bad9f89e675d3fe46c..01e1a10c962c934a4c56e0298ffcad0d9319e753"
}
,{
"testCaseDescription": "go-pointer-types-delete-insert-test",
@ -315,7 +315,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index 98e7b8a..7905807 100644",
"index 98e7b8a9..79058077 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -1,8 +1,5 @@",
@ -330,7 +330,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "0eedf900af78875379b8c006ef139823017a6ac7..7fda759ce77d878bd117b58c7bcadbafbe47a078"
"shas": "01e1a10c962c934a4c56e0298ffcad0d9319e753..070b73ae1ec76471c6a570a2d92d09abde20cf15"
}
,{
"testCaseDescription": "go-pointer-types-teardown-test",
@ -361,7 +361,7 @@
],
"patch": [
"diff --git a/pointer-types.go b/pointer-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/pointer-types.go",
"+++ b/pointer-types.go",
"@@ -1,5 +0,0 @@",
@ -372,5 +372,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7fda759ce77d878bd117b58c7bcadbafbe47a078..af3fb53612885aced55d8501c39d0e09f05a904c"
"shas": "070b73ae1ec76471c6a570a2d92d09abde20cf15..93550be30dcd752a72d39e8fcb3ad392ffd0f02b"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "97dac1878ab6129d8cc5f48c7dd108356a6ba262..276632f94d5798793fcb989424fe66c509e4b4b9"
"shas": "e8c4a8ad03eecb6092ebec8fd2debf608c6c8b60..4eba15a97391452ef6958223b02bb33f6b645183"
}
,{
"testCaseDescription": "go-qualified-types-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index 7905807..e03cf22 100644",
"index 79058077..e03cf221 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "276632f94d5798793fcb989424fe66c509e4b4b9..8c09b026f1abcd4e97884e40f60f9b43eea4d054"
"shas": "4eba15a97391452ef6958223b02bb33f6b645183..558a7ed526bb8ff77c23858530ae3cd33e11139a"
}
,{
"testCaseDescription": "go-qualified-types-replacement-test",
@ -151,7 +151,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index e03cf22..241e526 100644",
"index e03cf221..241e5267 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -1,5 +1,5 @@",
@ -163,7 +163,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "8c09b026f1abcd4e97884e40f60f9b43eea4d054..6332fae97e5878cab3318aea2c962ea95e65543b"
"shas": "558a7ed526bb8ff77c23858530ae3cd33e11139a..ff51b9f06f18a12c9ef801bb274fec2f96038923"
}
,{
"testCaseDescription": "go-qualified-types-delete-replacement-test",
@ -233,7 +233,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index 241e526..e03cf22 100644",
"index 241e5267..e03cf221 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -1,5 +1,5 @@",
@ -245,7 +245,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "6332fae97e5878cab3318aea2c962ea95e65543b..18e753ff695624e1dd25f7037643f3fda6479fb3"
"shas": "ff51b9f06f18a12c9ef801bb274fec2f96038923..8d15e865f26e96a3acf6c574f67878375ebe3baf"
}
,{
"testCaseDescription": "go-qualified-types-delete-insert-test",
@ -276,7 +276,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index e03cf22..7905807 100644",
"index e03cf221..79058077 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -1,5 +1,5 @@",
@ -288,7 +288,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "18e753ff695624e1dd25f7037643f3fda6479fb3..63f5a43ccfbbd874d61bc0bca9bd507993519f8e"
"shas": "8d15e865f26e96a3acf6c574f67878375ebe3baf..e66dcc2a6f0e3b809bb2401f6fe2d2b826e6b162"
}
,{
"testCaseDescription": "go-qualified-types-teardown-test",
@ -319,7 +319,7 @@
],
"patch": [
"diff --git a/qualified-types.go b/qualified-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/qualified-types.go",
"+++ b/qualified-types.go",
"@@ -1,5 +0,0 @@",
@ -330,5 +330,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "63f5a43ccfbbd874d61bc0bca9bd507993519f8e..e3cdff1e6a1723aecba4ee8116ae8b30419a85f0"
"shas": "e66dcc2a6f0e3b809bb2401f6fe2d2b826e6b162..3c029fc4f96030d7f8c57c5253233ec8cead1b0a"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index e69de29..c9ecbf5 100644",
"index e69de29b..c9ecbf5e 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -0,0 +1,2 @@",
@ -35,7 +35,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "d5f24adbbe5ff125bd4556844ca38a028a26c1d9..7a6df9c046d4979903eb9508aed8a1a39f958911"
"shas": "544e59d0964fe4e59f0711b8d7c0a74002bf1e68..60aa95ba79ac285a459dd0d9ba39c4eff4a5261e"
}
,{
"testCaseDescription": "go-rune-literals-insert-test",
@ -110,16 +110,16 @@
"span": {
"insert": {
"start": [
2,
5,
1
],
"end": [
10,
7,
2
]
}
},
"summary": "Added 'const (\na = '0'\nb = '\\''\nc = '\\'\nc = '\n'\nc = '\\u0000'\nc = '\\U01234567'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Added 'c = '\\'\nc = '\n'' at line 5, column 1 - line 7, column 2 in the main module"
}
]
}
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index c9ecbf5..7ecf7d8 100644",
"index c9ecbf5e..7ecf7d8d 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -1,2 +1,10 @@",
@ -146,7 +146,7 @@
"+)"
],
"gitDir": "test/corpus/repos/go",
"shas": "7a6df9c046d4979903eb9508aed8a1a39f958911..1dfef5cb6692306417c3c4b81016588a78d7a5b9"
"shas": "60aa95ba79ac285a459dd0d9ba39c4eff4a5261e..312475bd910f49a3ef01d760e531796056167da1"
}
,{
"testCaseDescription": "go-rune-literals-replacement-test",
@ -263,31 +263,46 @@
"span": {
"insert": {
"start": [
2,
4,
1
],
"end": [
10,
2
6,
1
]
}
},
"summary": "Added 'const (\na = '1'\nb = '\n''\nc = '\\u0011'\nc = '\\'\nc = '\\u0022'\nc = '\\U01234568'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Added 'b = '\n''\n' at line 4, column 1 - line 6, column 1 in the main module"
},
{
"span": {
"insert": {
"start": [
7,
1
],
"end": [
8,
13
]
}
},
"summary": "Added 'c = '\\'\nc = '\\u0022'' at line 7, column 1 - line 8, column 13 in the main module"
},
{
"span": {
"delete": {
"start": [
2,
5,
1
],
"end": [
10,
7,
2
]
}
},
"summary": "Deleted 'const (\na = '0'\nb = '\\''\nc = '\\'\nc = '\n'\nc = '\\u0000'\nc = '\\U01234567'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Deleted 'c = '\\'\nc = '\n'' at line 5, column 1 - line 7, column 2 in the main module"
}
]
}
@ -297,7 +312,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index 7ecf7d8..cee94e2 100644",
"index 7ecf7d8d..cee94e2a 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -1,10 +1,10 @@",
@ -319,7 +334,7 @@
" )"
],
"gitDir": "test/corpus/repos/go",
"shas": "1dfef5cb6692306417c3c4b81016588a78d7a5b9..28d45aed576ddd125666b516869ea1490901296c"
"shas": "312475bd910f49a3ef01d760e531796056167da1..b40790f25f495f39d62174bb9f81d110ff8a21e4"
}
,{
"testCaseDescription": "go-rune-literals-delete-replacement-test",
@ -436,31 +451,46 @@
"span": {
"insert": {
"start": [
2,
5,
1
],
"end": [
10,
7,
2
]
}
},
"summary": "Added 'const (\na = '0'\nb = '\\''\nc = '\\'\nc = '\n'\nc = '\\u0000'\nc = '\\U01234567'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Added 'c = '\\'\nc = '\n'' at line 5, column 1 - line 7, column 2 in the main module"
},
{
"span": {
"delete": {
"start": [
2,
4,
1
],
"end": [
10,
2
6,
1
]
}
},
"summary": "Deleted 'const (\na = '1'\nb = '\n''\nc = '\\u0011'\nc = '\\'\nc = '\\u0022'\nc = '\\U01234568'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Deleted 'b = '\n''\n' at line 4, column 1 - line 6, column 1 in the main module"
},
{
"span": {
"delete": {
"start": [
7,
1
],
"end": [
8,
13
]
}
},
"summary": "Deleted 'c = '\\'\nc = '\\u0022'' at line 7, column 1 - line 8, column 13 in the main module"
}
]
}
@ -470,7 +500,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index cee94e2..7ecf7d8 100644",
"index cee94e2a..7ecf7d8d 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -1,10 +1,10 @@",
@ -492,7 +522,7 @@
" )"
],
"gitDir": "test/corpus/repos/go",
"shas": "28d45aed576ddd125666b516869ea1490901296c..6c15bd80e744cb8143dbb9704f3161ed66ea723f"
"shas": "b40790f25f495f39d62174bb9f81d110ff8a21e4..4f7c54e6c63edd0cbedf9a60a6f30e0224d54e98"
}
,{
"testCaseDescription": "go-rune-literals-delete-insert-test",
@ -567,16 +597,16 @@
"span": {
"delete": {
"start": [
2,
5,
1
],
"end": [
10,
7,
2
]
}
},
"summary": "Deleted 'const (\na = '0'\nb = '\\''\nc = '\\'\nc = '\n'\nc = '\\u0000'\nc = '\\U01234567'\n)' at line 2, column 1 - line 10, column 2 in the main module"
"summary": "Deleted 'c = '\\'\nc = '\n'' at line 5, column 1 - line 7, column 2 in the main module"
}
]
}
@ -586,7 +616,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index 7ecf7d8..c9ecbf5 100644",
"index 7ecf7d8d..c9ecbf5e 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -1,10 +1,2 @@",
@ -603,7 +633,7 @@
"+"
],
"gitDir": "test/corpus/repos/go",
"shas": "6c15bd80e744cb8143dbb9704f3161ed66ea723f..a108688385b1639080aef82f4d8019d8fe4230b2"
"shas": "4f7c54e6c63edd0cbedf9a60a6f30e0224d54e98..91810e340def500436fb6f43b5b061f1567e6246"
}
,{
"testCaseDescription": "go-rune-literals-teardown-test",
@ -634,7 +664,7 @@
],
"patch": [
"diff --git a/rune-literals.go b/rune-literals.go",
"index c9ecbf5..e69de29 100644",
"index c9ecbf5e..e69de29b 100644",
"--- a/rune-literals.go",
"+++ b/rune-literals.go",
"@@ -1,2 +0,0 @@",
@ -642,5 +672,5 @@
"-"
],
"gitDir": "test/corpus/repos/go",
"shas": "a108688385b1639080aef82f4d8019d8fe4230b2..76f08190bffba036fc899c8b7180778ed761c374"
"shas": "91810e340def500436fb6f43b5b061f1567e6246..519d5c9573725c473c04fe3120e7034e3e58d60a"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "6557aefaee0dae39fcaba063092531417e0c2fb1..7e12ccad2931d6ee11481b4056b571293e3cb6da"
"shas": "fbe6e91c23da3949f63a0e46bb4472bcc7e4286d..94699f5f72698f0e925d06a28c21752d26871ac2"
}
,{
"testCaseDescription": "go-select-statements-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index 7905807..6806fa6 100644",
"index 79058077..6806fa67 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -1,5 +1,14 @@",
@ -90,7 +90,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "7e12ccad2931d6ee11481b4056b571293e3cb6da..0413de3947d09ffc83bdb3d1fd9472f1c9c4d3d0"
"shas": "94699f5f72698f0e925d06a28c21752d26871ac2..c2860c3ff712d34e849c42258ac6a42d3596dbe1"
}
,{
"testCaseDescription": "go-select-statements-replacement-test",
@ -187,7 +187,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index 6806fa6..1ca26fb 100644",
"index 6806fa67..1ca26fb9 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -2,11 +2,11 @@ package main",
@ -207,7 +207,7 @@
" return"
],
"gitDir": "test/corpus/repos/go",
"shas": "0413de3947d09ffc83bdb3d1fd9472f1c9c4d3d0..2fcc4edd40d2da46b748fc4b2fe6ab344c1d3d18"
"shas": "c2860c3ff712d34e849c42258ac6a42d3596dbe1..2528910607cf882c62beacf455cfcebd13c0cd23"
}
,{
"testCaseDescription": "go-select-statements-delete-replacement-test",
@ -304,7 +304,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index 1ca26fb..6806fa6 100644",
"index 1ca26fb9..6806fa67 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -2,11 +2,11 @@ package main",
@ -324,7 +324,7 @@
" return"
],
"gitDir": "test/corpus/repos/go",
"shas": "2fcc4edd40d2da46b748fc4b2fe6ab344c1d3d18..5005d517b09f07c7ab6725ba85b8d28a5d62bb22"
"shas": "2528910607cf882c62beacf455cfcebd13c0cd23..919009e39d038df099dd98e7abaf9f8b99c9281a"
}
,{
"testCaseDescription": "go-select-statements-delete-insert-test",
@ -355,7 +355,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index 6806fa6..7905807 100644",
"index 6806fa67..79058077 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -1,14 +1,5 @@",
@ -376,7 +376,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "5005d517b09f07c7ab6725ba85b8d28a5d62bb22..3921c33629035607180a3fb0f0bce8d21d0fe9d1"
"shas": "919009e39d038df099dd98e7abaf9f8b99c9281a..17be2d4cc4bf5281cc3b75e9174d7b579ccbc81e"
}
,{
"testCaseDescription": "go-select-statements-teardown-test",
@ -407,7 +407,7 @@
],
"patch": [
"diff --git a/select-statements.go b/select-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/select-statements.go",
"+++ b/select-statements.go",
"@@ -1,5 +0,0 @@",
@ -418,5 +418,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "3921c33629035607180a3fb0f0bce8d21d0fe9d1..4e70785e6ea415366b749118d52feb0fbf26824f"
"shas": "17be2d4cc4bf5281cc3b75e9174d7b579ccbc81e..5ca6aa307b5684ac4eda03fead620e2d753f2e01"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "ddf3ce8b6c6271e3153414e94c2a5ed576525b3f..f65051e093ea9f1b853ad6607b0627bc4b467b71"
"shas": "6e80447717bef244bb9bfd8ca19fa08396a93949..6d6994dd8bd7aa9f2f1ae62106a0a13a3c5cddb7"
}
,{
"testCaseDescription": "go-selector-expressions-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index 7905807..8b4c745 100644",
"index 79058077..8b4c745e 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f65051e093ea9f1b853ad6607b0627bc4b467b71..9e976318322531cbe98ab23f961842da2c2fb84a"
"shas": "6d6994dd8bd7aa9f2f1ae62106a0a13a3c5cddb7..f70f444c0575bafe2a43d4cdf141d95fd8c198e2"
}
,{
"testCaseDescription": "go-selector-expressions-replacement-test",
@ -178,7 +178,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index 8b4c745..0e519e3 100644",
"index 8b4c745e..0e519e3e 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -1,5 +1,5 @@",
@ -190,7 +190,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "9e976318322531cbe98ab23f961842da2c2fb84a..afd5153ab50147c234de8b3757736f30d7efe411"
"shas": "f70f444c0575bafe2a43d4cdf141d95fd8c198e2..048ff2fe202aa2df86987f94fbd3496b1ccb5ae3"
}
,{
"testCaseDescription": "go-selector-expressions-delete-replacement-test",
@ -287,7 +287,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index 0e519e3..8b4c745 100644",
"index 0e519e3e..8b4c745e 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -1,5 +1,5 @@",
@ -299,7 +299,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "afd5153ab50147c234de8b3757736f30d7efe411..923206e8a0cd792702477ec1e1e7ab12bc3488c0"
"shas": "048ff2fe202aa2df86987f94fbd3496b1ccb5ae3..535ab994b8974d503ce26ab64f8d294ab2a75f53"
}
,{
"testCaseDescription": "go-selector-expressions-delete-insert-test",
@ -330,7 +330,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index 8b4c745..7905807 100644",
"index 8b4c745e..79058077 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -1,5 +1,5 @@",
@ -342,7 +342,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "923206e8a0cd792702477ec1e1e7ab12bc3488c0..322dd4b61decf7a69223fa122f238e7001c5510d"
"shas": "535ab994b8974d503ce26ab64f8d294ab2a75f53..76275accea3e66b341933ac6f537ac7064204c89"
}
,{
"testCaseDescription": "go-selector-expressions-teardown-test",
@ -373,7 +373,7 @@
],
"patch": [
"diff --git a/selector-expressions.go b/selector-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/selector-expressions.go",
"+++ b/selector-expressions.go",
"@@ -1,5 +0,0 @@",
@ -384,5 +384,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "322dd4b61decf7a69223fa122f238e7001c5510d..eb22590bba5cac2db7b478012ad0ab6e980f7317"
"shas": "76275accea3e66b341933ac6f537ac7064204c89..efcf789858ec7ef3093d8b8c90b40e9590b8a605"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "2bd4831433df7f47de8e29abed25c68de14722f2..415be608bac324625715204a7022f56f0ab362c7"
"shas": "d048a98a9a74c54069a496d7e50c481f9bf118df..7f4265f08aa3668bb6326d1bda09f04498af1caa"
}
,{
"testCaseDescription": "go-send-statements-insert-test",
@ -52,28 +52,13 @@
4,
1
],
"end": [
4,
4
]
}
},
"summary": "Added the 'foo' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
4,
8
],
"end": [
4,
9
]
}
},
"summary": "Added '5' in the main function of the 'main' module"
"summary": "Added the 'foo <- 5' send statement in the main function of the 'main' module"
}
]
},
@ -84,7 +69,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index 7905807..5f327d1 100644",
"index 79058077..5f327d16 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -1,5 +1,5 @@",
@ -96,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "415be608bac324625715204a7022f56f0ab362c7..be80d19d7e5915b9c561d783b72f6968eec75ed2"
"shas": "7f4265f08aa3668bb6326d1bda09f04498af1caa..27ad020c6dbc052bfbd065811d28943f2640784a"
}
,{
"testCaseDescription": "go-send-statements-replacement-test",
@ -166,7 +151,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index 5f327d1..3829478 100644",
"index 5f327d16..3829478b 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -1,5 +1,5 @@",
@ -178,7 +163,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "be80d19d7e5915b9c561d783b72f6968eec75ed2..6ffc3631ff21cf0235f2b7cfd4753065d6912306"
"shas": "27ad020c6dbc052bfbd065811d28943f2640784a..33f3173953ce739300b8a8beac341209cdedf39a"
}
,{
"testCaseDescription": "go-send-statements-delete-replacement-test",
@ -248,7 +233,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index 3829478..5f327d1 100644",
"index 3829478b..5f327d16 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -1,5 +1,5 @@",
@ -260,7 +245,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "6ffc3631ff21cf0235f2b7cfd4753065d6912306..d35efb2f4ea672a2ef93693d68904ac8e3db0c7d"
"shas": "33f3173953ce739300b8a8beac341209cdedf39a..81da4f5fe9bd19a602341f2260efb875b68cb4b4"
}
,{
"testCaseDescription": "go-send-statements-delete-insert-test",
@ -274,28 +259,13 @@
4,
1
],
"end": [
4,
4
]
}
},
"summary": "Deleted the 'foo' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
8
],
"end": [
4,
9
]
}
},
"summary": "Deleted '5' in the main function of the 'main' module"
"summary": "Deleted the 'foo <- 5' send statement in the main function of the 'main' module"
}
]
},
@ -306,7 +276,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index 5f327d1..7905807 100644",
"index 5f327d16..79058077 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -1,5 +1,5 @@",
@ -318,7 +288,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d35efb2f4ea672a2ef93693d68904ac8e3db0c7d..7d59c0e03e14d9ef4519c49c6e88fb1f12896bdf"
"shas": "81da4f5fe9bd19a602341f2260efb875b68cb4b4..47beb86d4c325da286e46939e095831ba8b3b699"
}
,{
"testCaseDescription": "go-send-statements-teardown-test",
@ -349,7 +319,7 @@
],
"patch": [
"diff --git a/send-statements.go b/send-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/send-statements.go",
"+++ b/send-statements.go",
"@@ -1,5 +0,0 @@",
@ -360,5 +330,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7d59c0e03e14d9ef4519c49c6e88fb1f12896bdf..c5bc44c5e8be4fa60d6b37aa6bd894dbacb5d2e8"
"shas": "47beb86d4c325da286e46939e095831ba8b3b699..4764f0b232e8367debef70ecac0a94929337a68a"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "d8f9557a132b5ece466963fc5cdfaf89748a45cb..283dedd44a8710088bbd0ce7cedc53934c77e05d"
"shas": "225e43a556530b340ec0d61212e59a26a52d143e..9d4f0c21dfaf91e6571f10fdd3fac820b0ae6168"
}
,{
"testCaseDescription": "go-short-var-declarations-insert-test",
@ -58,7 +58,7 @@
]
}
},
"summary": "Added the 'a' variable in the main function of the 'main' module"
"summary": "Added the 'a' var assignment in the main function of the 'main' module"
},
{
"span": {
@ -73,7 +73,7 @@
]
}
},
"summary": "Added the 'b' variable in the main function of the 'main' module"
"summary": "Added the 'b' var assignment in the main function of the 'main' module"
}
]
},
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index 7905807..4ca1ce3 100644",
"index 79058077..4ca1ce37 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -1,5 +1,5 @@",
@ -96,7 +96,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "283dedd44a8710088bbd0ce7cedc53934c77e05d..5cb96b265326ce1c1baf60d57f45a7e97d261832"
"shas": "9d4f0c21dfaf91e6571f10fdd3fac820b0ae6168..4f894a0f43147135c1c62e3287166f94fae91695"
}
,{
"testCaseDescription": "go-short-var-declarations-replacement-test",
@ -128,7 +128,7 @@
}
]
},
"summary": "Replaced the 'a' identifier with the 'x' identifier in the x variable of the 'main' function"
"summary": "Replaced the 'a' identifier with the 'x' identifier in the x var assignment of the 'main' function"
},
{
"span": {
@ -155,7 +155,7 @@
}
]
},
"summary": "Replaced '1' with '3' in the x variable of the 'main' function"
"summary": "Replaced '1' with '3' in the x var assignment of the 'main' function"
},
{
"span": {
@ -182,7 +182,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'y' identifier in the y variable of the 'main' function"
"summary": "Replaced the 'b' identifier with the 'y' identifier in the y var assignment of the 'main' function"
},
{
"span": {
@ -209,7 +209,7 @@
}
]
},
"summary": "Replaced '2' with '4' in the y variable of the 'main' function"
"summary": "Replaced '2' with '4' in the y var assignment of the 'main' function"
}
]
},
@ -220,7 +220,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index 4ca1ce3..bbbf937 100644",
"index 4ca1ce37..bbbf9372 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -1,5 +1,5 @@",
@ -232,7 +232,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "5cb96b265326ce1c1baf60d57f45a7e97d261832..1cb5c94447506c4c9b9199a13750192f6c304aee"
"shas": "4f894a0f43147135c1c62e3287166f94fae91695..ea11877319269fb8be2eae30f12235a13312d877"
}
,{
"testCaseDescription": "go-short-var-declarations-delete-replacement-test",
@ -264,7 +264,7 @@
}
]
},
"summary": "Replaced the 'x' identifier with the 'a' identifier in the a variable of the 'main' function"
"summary": "Replaced the 'x' identifier with the 'a' identifier in the a var assignment of the 'main' function"
},
{
"span": {
@ -291,7 +291,7 @@
}
]
},
"summary": "Replaced '3' with '1' in the a variable of the 'main' function"
"summary": "Replaced '3' with '1' in the a var assignment of the 'main' function"
},
{
"span": {
@ -318,7 +318,7 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'b' identifier in the b variable of the 'main' function"
"summary": "Replaced the 'y' identifier with the 'b' identifier in the b var assignment of the 'main' function"
},
{
"span": {
@ -345,7 +345,7 @@
}
]
},
"summary": "Replaced '4' with '2' in the b variable of the 'main' function"
"summary": "Replaced '4' with '2' in the b var assignment of the 'main' function"
}
]
},
@ -356,7 +356,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index bbbf937..4ca1ce3 100644",
"index bbbf9372..4ca1ce37 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -1,5 +1,5 @@",
@ -368,7 +368,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1cb5c94447506c4c9b9199a13750192f6c304aee..51ff91a1c7e4affa0475c2a01a4729cd4814d00b"
"shas": "ea11877319269fb8be2eae30f12235a13312d877..ffd51834c6de157feec00a0d5180f42f97e19199"
}
,{
"testCaseDescription": "go-short-var-declarations-delete-insert-test",
@ -388,7 +388,7 @@
]
}
},
"summary": "Deleted the 'a' variable in the main function of the 'main' module"
"summary": "Deleted the 'a' var assignment in the main function of the 'main' module"
},
{
"span": {
@ -403,7 +403,7 @@
]
}
},
"summary": "Deleted the 'b' variable in the main function of the 'main' module"
"summary": "Deleted the 'b' var assignment in the main function of the 'main' module"
}
]
},
@ -414,7 +414,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index 4ca1ce3..7905807 100644",
"index 4ca1ce37..79058077 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -1,5 +1,5 @@",
@ -426,7 +426,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "51ff91a1c7e4affa0475c2a01a4729cd4814d00b..556d0ec6cffd519d7213bebed19788116d78d3b5"
"shas": "ffd51834c6de157feec00a0d5180f42f97e19199..089b42d327d766e2de44f215d3771fddde58275f"
}
,{
"testCaseDescription": "go-short-var-declarations-teardown-test",
@ -457,7 +457,7 @@
],
"patch": [
"diff --git a/short-var-declarations.go b/short-var-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/short-var-declarations.go",
"+++ b/short-var-declarations.go",
"@@ -1,5 +0,0 @@",
@ -468,5 +468,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "556d0ec6cffd519d7213bebed19788116d78d3b5..a6d6b87e3b8498575c6a100bd3722f8ce2d30eee"
"shas": "089b42d327d766e2de44f215d3771fddde58275f..2b9cb611dc3d121922e8078cb5a74bac1146c4ea"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "bf83f554698ce7a18601fd81b74501ff553bcf91..82ed0f64a56dc8cc44eb1fe1eff9ef333737d402"
"shas": "e3cdff1e6a1723aecba4ee8116ae8b30419a85f0..a93f888c54ec7619047dd94f045f8101a995814e"
}
,{
"testCaseDescription": "go-single-import-declarations-insert-test",
@ -159,7 +159,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index 7905807..bf7f515 100644",
"index 79058077..bf7f515f 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -1,5 +1,7 @@",
@ -173,7 +173,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "82ed0f64a56dc8cc44eb1fe1eff9ef333737d402..f971c49f658bfdb4ac5f4bb446544b6b59187dcc"
"shas": "a93f888c54ec7619047dd94f045f8101a995814e..d34f33b885ff14ebcb2403eda6bfbfff0058dbb0"
}
,{
"testCaseDescription": "go-single-import-declarations-replacement-test",
@ -270,7 +270,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index bf7f515..7710f5e 100644",
"index bf7f515f..7710f5e3 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -1,7 +1,7 @@",
@ -286,7 +286,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f971c49f658bfdb4ac5f4bb446544b6b59187dcc..dc34e996f3e8d04f5f04c591ffbb7a40995fc1c1"
"shas": "d34f33b885ff14ebcb2403eda6bfbfff0058dbb0..ebfec37f4d62416c03bab8ed9696845eb85b5aae"
}
,{
"testCaseDescription": "go-single-import-declarations-delete-replacement-test",
@ -383,7 +383,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index 7710f5e..bf7f515 100644",
"index 7710f5e3..bf7f515f 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -1,7 +1,7 @@",
@ -399,7 +399,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "dc34e996f3e8d04f5f04c591ffbb7a40995fc1c1..d3d126aa0544a58394e9838234ee6ce30bb35116"
"shas": "ebfec37f4d62416c03bab8ed9696845eb85b5aae..9cba47bb212d7f1dc489500c760832e2df679c83"
}
,{
"testCaseDescription": "go-single-import-declarations-delete-insert-test",
@ -520,7 +520,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index bf7f515..7905807 100644",
"index bf7f515f..79058077 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -1,7 +1,5 @@",
@ -534,7 +534,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d3d126aa0544a58394e9838234ee6ce30bb35116..2a6c5a98bcc065e52a48247c8b3838f7045bd840"
"shas": "9cba47bb212d7f1dc489500c760832e2df679c83..1d5875c53cb7248a6a42b0a5e68abd8f17dcf19d"
}
,{
"testCaseDescription": "go-single-import-declarations-teardown-test",
@ -565,7 +565,7 @@
],
"patch": [
"diff --git a/single-import-declarations.go b/single-import-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/single-import-declarations.go",
"+++ b/single-import-declarations.go",
"@@ -1,5 +0,0 @@",
@ -576,5 +576,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "2a6c5a98bcc065e52a48247c8b3838f7045bd840..2be724661b34d7fbc740a5b2d599c03ed0feef47"
"shas": "1d5875c53cb7248a6a42b0a5e68abd8f17dcf19d..e13c25cd435aead827b8a09d18dfed061d9f8443"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "efb4a57594d20ae6478868b54c3349cf6f800b43..728f0acbc957ecdf04eb79102c926e29334bedd0"
"shas": "6db5b98058f6889a0e2a736415bbd346a877a81d..2c161f750f49963b5cdccc4430335c284c390a20"
}
,{
"testCaseDescription": "go-single-line-function-declarations-insert-test",
@ -174,7 +174,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index 7905807..0339b42 100644",
"index 79058077..0339b429 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -1,5 +1,7 @@",
@ -188,7 +188,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "728f0acbc957ecdf04eb79102c926e29334bedd0..4705bc9dbb8698f6d9ea2e569b1c45c6000f4ed0"
"shas": "2c161f750f49963b5cdccc4430335c284c390a20..e38ecd9064457caa47a81918df9cba3780e1983b"
}
,{
"testCaseDescription": "go-single-line-function-declarations-replacement-test",
@ -224,30 +224,33 @@
},
{
"span": {
"replace": [
{
"start": [
5,
6
],
"end": [
5,
8
]
},
{
"start": [
5,
6
],
"end": [
5,
8
]
}
]
"insert": {
"start": [
5,
6
],
"end": [
5,
10
]
}
},
"summary": "Replaced the 'f2' identifier with the 'g2' identifier in the g2() function call of the 'main' function"
"summary": "Added the 'g2()' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
6
],
"end": [
5,
10
]
}
},
"summary": "Deleted the 'f2()' function call in the main function of the 'main' module"
},
{
"span": {
@ -285,7 +288,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index 0339b42..5bfe23f 100644",
"index 0339b429..5bfe23f4 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -1,7 +1,7 @@",
@ -301,7 +304,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "4705bc9dbb8698f6d9ea2e569b1c45c6000f4ed0..04207eb8e6fdc09a5e74a145a79632a919b7ff7c"
"shas": "e38ecd9064457caa47a81918df9cba3780e1983b..03cd2ea0d245e393c8b18b8f11f054192852e0a5"
}
,{
"testCaseDescription": "go-single-line-function-declarations-delete-replacement-test",
@ -337,30 +340,33 @@
},
{
"span": {
"replace": [
{
"start": [
5,
6
],
"end": [
5,
8
]
},
{
"start": [
5,
6
],
"end": [
5,
8
]
}
]
"insert": {
"start": [
5,
6
],
"end": [
5,
10
]
}
},
"summary": "Replaced the 'g2' identifier with the 'f2' identifier in the f2() function call of the 'main' function"
"summary": "Added the 'f2()' function call in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
6
],
"end": [
5,
10
]
}
},
"summary": "Deleted the 'g2()' function call in the main function of the 'main' module"
},
{
"span": {
@ -398,7 +404,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index 5bfe23f..0339b42 100644",
"index 5bfe23f4..0339b429 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -1,7 +1,7 @@",
@ -414,7 +420,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "04207eb8e6fdc09a5e74a145a79632a919b7ff7c..46baf0d782767becd51d83d8b45e905f98b83c6b"
"shas": "03cd2ea0d245e393c8b18b8f11f054192852e0a5..5882272a60ff8b97c7f1468c49a18554917cb66c"
}
,{
"testCaseDescription": "go-single-line-function-declarations-delete-insert-test",
@ -550,7 +556,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index 0339b42..7905807 100644",
"index 0339b429..79058077 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -1,7 +1,5 @@",
@ -564,7 +570,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "46baf0d782767becd51d83d8b45e905f98b83c6b..dfc63c0380caa3d1c47b3742b845a45f5cff8742"
"shas": "5882272a60ff8b97c7f1468c49a18554917cb66c..96e8ac672432d770311f0804173e5c719a086039"
}
,{
"testCaseDescription": "go-single-line-function-declarations-teardown-test",
@ -595,7 +601,7 @@
],
"patch": [
"diff --git a/single-line-function-declarations.go b/single-line-function-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/single-line-function-declarations.go",
"+++ b/single-line-function-declarations.go",
"@@ -1,5 +0,0 @@",
@ -606,5 +612,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "dfc63c0380caa3d1c47b3742b845a45f5cff8742..7c2e8f39e68df4ae5a362bc9e19f3b476c0e524f"
"shas": "96e8ac672432d770311f0804173e5c719a086039..f889c39f6b16e9b46e41c62a86630722d9d746de"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "c3b3855c7743f237244fce36ffb7c1cbb07fa7ff..02e30e6371ac73d59b281bf29357c4bbb14fe8b9"
"shas": "c44774b71e87e8c70f4e9470e9a8a2b8166ca535..a78db077a69c11fa5e46dd552696c22259e3124c"
}
,{
"testCaseDescription": "go-slice-literals-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index 7905807..3c94936 100644",
"index 79058077..3c94936e 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -1,5 +1,10 @@",
@ -116,7 +116,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "02e30e6371ac73d59b281bf29357c4bbb14fe8b9..c7aa475b6f8fcf8ad5ba04758266a18baaf37200"
"shas": "a78db077a69c11fa5e46dd552696c22259e3124c..b4df5861cf475aa401bc12bc9914156dc119518a"
}
,{
"testCaseDescription": "go-slice-literals-replacement-test",
@ -240,7 +240,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index 3c94936..caefc00 100644",
"index 3c94936e..caefc004 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -1,10 +1,10 @@",
@ -260,7 +260,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c7aa475b6f8fcf8ad5ba04758266a18baaf37200..24cd8af2b7e9dbc9f5ae157dd73f96dc887f9535"
"shas": "b4df5861cf475aa401bc12bc9914156dc119518a..c5c1a044d18224a70ad5312df73a6bcd13cafb77"
}
,{
"testCaseDescription": "go-slice-literals-delete-replacement-test",
@ -384,7 +384,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index caefc00..3c94936 100644",
"index caefc004..3c94936e 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -1,10 +1,10 @@",
@ -404,7 +404,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "24cd8af2b7e9dbc9f5ae157dd73f96dc887f9535..47be26de59eb833c604ee66f6432c12867b3722a"
"shas": "c5c1a044d18224a70ad5312df73a6bcd13cafb77..50bf0ef85e960ed9e58c4a9222457b6e128fd11b"
}
,{
"testCaseDescription": "go-slice-literals-delete-insert-test",
@ -465,7 +465,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index 3c94936..7905807 100644",
"index 3c94936e..79058077 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -1,10 +1,5 @@",
@ -482,7 +482,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "47be26de59eb833c604ee66f6432c12867b3722a..f270327170f2766decf667d70babf56ff140b9c6"
"shas": "50bf0ef85e960ed9e58c4a9222457b6e128fd11b..77a4854feccb60a9811fbc860894b949a8ec57f3"
}
,{
"testCaseDescription": "go-slice-literals-teardown-test",
@ -513,7 +513,7 @@
],
"patch": [
"diff --git a/slice-literals.go b/slice-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/slice-literals.go",
"+++ b/slice-literals.go",
"@@ -1,5 +0,0 @@",
@ -524,5 +524,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "f270327170f2766decf667d70babf56ff140b9c6..e7e3ce19924737aca0872994f3268f9f73e74c98"
"shas": "77a4854feccb60a9811fbc860894b949a8ec57f3..5782bb004896da69fd5de9c2a9727f490c1cfc71"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "ffedb66ffa318010e511fa2a7f508d94c0220d98..9e746752812957462281a5d5d9fa3775d4062cad"
"shas": "5deab0cac5ff307e66dafda450d81397a6d8b7d9..a5d5c49baed612a8b5bd1b020a3f643d31e20dcd"
}
,{
"testCaseDescription": "go-slice-types-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index 7905807..4880791 100644",
"index 79058077..4880791f 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -1,5 +1,6 @@",
@ -97,7 +97,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "9e746752812957462281a5d5d9fa3775d4062cad..132ee74dbcaf325fd72dc21ffff289fb65a1f701"
"shas": "a5d5c49baed612a8b5bd1b020a3f643d31e20dcd..84772b0bb76419d73db3a99504879062d5c9de94"
}
,{
"testCaseDescription": "go-slice-types-replacement-test",
@ -117,7 +117,7 @@
]
}
},
"summary": "Added the 'p' identifier in the a type declaration of the 'main' function"
"summary": "Added the 'p' identifier in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -132,7 +132,7 @@
]
}
},
"summary": "Deleted the 'b' identifier in the a type declaration of the 'main' function"
"summary": "Deleted the 'b' identifier in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -147,7 +147,7 @@
]
}
},
"summary": "Added the 'y' identifier in the c type declaration of the 'main' function"
"summary": "Added the 'y' identifier in the 'c' type declaration of the 'main' function"
},
{
"span": {
@ -162,7 +162,7 @@
]
}
},
"summary": "Deleted the 'd' identifier in the c type declaration of the 'main' function"
"summary": "Deleted the 'd' identifier in the 'c' type declaration of the 'main' function"
}
]
},
@ -173,7 +173,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index 4880791..b48b280 100644",
"index 4880791f..b48b280a 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -1,6 +1,6 @@",
@ -187,7 +187,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "132ee74dbcaf325fd72dc21ffff289fb65a1f701..1199891ace669587c3598ff7b2a25b8d43c56184"
"shas": "84772b0bb76419d73db3a99504879062d5c9de94..87cb792efe733f8b778a1fab0b7de5c8433deb2c"
}
,{
"testCaseDescription": "go-slice-types-delete-replacement-test",
@ -207,7 +207,7 @@
]
}
},
"summary": "Added the 'b' identifier in the a type declaration of the 'main' function"
"summary": "Added the 'b' identifier in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -222,7 +222,7 @@
]
}
},
"summary": "Deleted the 'p' identifier in the a type declaration of the 'main' function"
"summary": "Deleted the 'p' identifier in the 'a' type declaration of the 'main' function"
},
{
"span": {
@ -237,7 +237,7 @@
]
}
},
"summary": "Added the 'd' identifier in the c type declaration of the 'main' function"
"summary": "Added the 'd' identifier in the 'c' type declaration of the 'main' function"
},
{
"span": {
@ -252,7 +252,7 @@
]
}
},
"summary": "Deleted the 'y' identifier in the c type declaration of the 'main' function"
"summary": "Deleted the 'y' identifier in the 'c' type declaration of the 'main' function"
}
]
},
@ -263,7 +263,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index b48b280..4880791 100644",
"index b48b280a..4880791f 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -1,6 +1,6 @@",
@ -277,7 +277,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1199891ace669587c3598ff7b2a25b8d43c56184..647b2f873f54de33e3e94041a059b2202fa30a39"
"shas": "87cb792efe733f8b778a1fab0b7de5c8433deb2c..fdb3add90974e9f84e521404cda2e6e71b52cc39"
}
,{
"testCaseDescription": "go-slice-types-delete-insert-test",
@ -323,7 +323,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index 4880791..7905807 100644",
"index 4880791f..79058077 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -1,6 +1,5 @@",
@ -336,7 +336,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "647b2f873f54de33e3e94041a059b2202fa30a39..32c33c4b6faf99299ea4abe5fc9c280812fcd07e"
"shas": "fdb3add90974e9f84e521404cda2e6e71b52cc39..1044889b32a3ace787e9f95183dc18c7d0fe9f26"
}
,{
"testCaseDescription": "go-slice-types-teardown-test",
@ -367,7 +367,7 @@
],
"patch": [
"diff --git a/slice-types.go b/slice-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/slice-types.go",
"+++ b/slice-types.go",
"@@ -1,5 +0,0 @@",
@ -378,5 +378,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "32c33c4b6faf99299ea4abe5fc9c280812fcd07e..65f9b951e0ca2913336697e29d8e82466117d13e"
"shas": "1044889b32a3ace787e9f95183dc18c7d0fe9f26..fab1dcdf1ee0c86193d9e8af8a03ed5bb0c006ce"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "82995a356477b94c28f13f84e7c705e71bb610b2..26b69b34f0334736674c97d9fe6482e5c3f792b8"
"shas": "b72df7d6c7aedd3d34dd3b2f0aa0547d69e1ffe1..0b377fe4792f5202963a884fb4165b58ab9e5b86"
}
,{
"testCaseDescription": "go-string-literals-insert-test",
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index 7905807..9a69966 100644",
"index 79058077..9a69966c 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -1,5 +1,8 @@",
@ -99,7 +99,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "26b69b34f0334736674c97d9fe6482e5c3f792b8..dbc8c044c144046ae9596f066fa85ff5689a1529"
"shas": "0b377fe4792f5202963a884fb4165b58ab9e5b86..18417d193745676dcc2c91a68db21d6816224357"
}
,{
"testCaseDescription": "go-string-literals-replacement-test",
@ -169,7 +169,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index 9a69966..fbbdb93 100644",
"index 9a69966c..fbbdb93e 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -2,7 +2,7 @@ package main",
@ -184,7 +184,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "dbc8c044c144046ae9596f066fa85ff5689a1529..263d7b106eb4521f1232d4daddf0f9b02ab5d5df"
"shas": "18417d193745676dcc2c91a68db21d6816224357..e1c4c6f633c0ba881845f5a97369ddb0ee992b3b"
}
,{
"testCaseDescription": "go-string-literals-delete-replacement-test",
@ -254,7 +254,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index fbbdb93..9a69966 100644",
"index fbbdb93e..9a69966c 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -2,7 +2,7 @@ package main",
@ -269,7 +269,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "263d7b106eb4521f1232d4daddf0f9b02ab5d5df..c333d9867baaadb665c02382119d2e33eb8a65e7"
"shas": "e1c4c6f633c0ba881845f5a97369ddb0ee992b3b..46e962571abe8550dd68805eb4525ab76d72333c"
}
,{
"testCaseDescription": "go-string-literals-delete-insert-test",
@ -315,7 +315,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index 9a69966..7905807 100644",
"index 9a69966c..79058077 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -1,8 +1,5 @@",
@ -330,7 +330,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "c333d9867baaadb665c02382119d2e33eb8a65e7..8d930fe95a747d900468af51ef49a224eb77ef52"
"shas": "46e962571abe8550dd68805eb4525ab76d72333c..17b0499818d3e51ca3f5984542022905780b0e2c"
}
,{
"testCaseDescription": "go-string-literals-teardown-test",
@ -361,7 +361,7 @@
],
"patch": [
"diff --git a/string-literals.go b/string-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/string-literals.go",
"+++ b/string-literals.go",
"@@ -1,5 +0,0 @@",
@ -372,5 +372,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "8d930fe95a747d900468af51ef49a224eb77ef52..250675f9851f6cab4d70c5505bc7781de836c288"
"shas": "17b0499818d3e51ca3f5984542022905780b0e2c..c44774b71e87e8c70f4e9470e9a8a2b8166ca535"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index e69de29..60d13f4 100644",
"index e69de29b..60d13f45 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "0243cec6939b070fc3a64358c1e332185a7d1774..3a3b3dfd3c6ee27325081e5ff46e7c39b9499a22"
"shas": "a086622a7f75f3e4448865cd132e37b251f1e189..c70027cf01cd676706c1b1e389de0c42e5c6761c"
}
,{
"testCaseDescription": "go-struct-field-declarations-insert-test",
@ -58,7 +58,7 @@
]
}
},
"summary": "Added the 'g int' field declaration in the s3 type declaration of the 'main' function"
"summary": "Added the 'g int' field declaration in the struct {\n g int\n} struct type of the 'main' function"
}
]
},
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index 60d13f4..bc84b14 100644",
"index 60d13f45..bc84b146 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -1,5 +1,7 @@",
@ -83,7 +83,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3a3b3dfd3c6ee27325081e5ff46e7c39b9499a22..e9545b41cab6877440085a7f313a039bad8ce229"
"shas": "c70027cf01cd676706c1b1e389de0c42e5c6761c..c4d3efcaaf37e305baf4291edb6feb8a28545f5d"
}
,{
"testCaseDescription": "go-struct-field-declarations-replacement-test",
@ -115,7 +115,7 @@
}
]
},
"summary": "Replaced the 'g' identifier with the 'h' identifier in the s3 type declaration of the 'main' function"
"summary": "Replaced the 'g' identifier with the 'h' identifier in the struct {\n h, i int\n} struct type of the 'main' function"
},
{
"span": {
@ -130,7 +130,7 @@
]
}
},
"summary": "Added the 'i' identifier in the s3 type declaration of the 'main' function"
"summary": "Added the 'i' identifier in the struct {\n h, i int\n} struct type of the 'main' function"
}
]
},
@ -141,7 +141,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index bc84b14..f3ca9a5 100644",
"index bc84b146..f3ca9a51 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -2,6 +2,6 @@ package main",
@ -154,7 +154,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "e9545b41cab6877440085a7f313a039bad8ce229..0473726d6cf870acc191460c76102d505a6881e8"
"shas": "c4d3efcaaf37e305baf4291edb6feb8a28545f5d..d0ef8fc1b7880068b0149e661e88b62a10ceef63"
}
,{
"testCaseDescription": "go-struct-field-declarations-delete-replacement-test",
@ -186,7 +186,7 @@
}
]
},
"summary": "Replaced the 'h' identifier with the 'g' identifier in the s3 type declaration of the 'main' function"
"summary": "Replaced the 'h' identifier with the 'g' identifier in the struct {\n g int\n} struct type of the 'main' function"
},
{
"span": {
@ -201,7 +201,7 @@
]
}
},
"summary": "Deleted the 'i' identifier in the s3 type declaration of the 'main' function"
"summary": "Deleted the 'i' identifier in the struct {\n g int\n} struct type of the 'main' function"
}
]
},
@ -212,7 +212,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index f3ca9a5..bc84b14 100644",
"index f3ca9a51..bc84b146 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -2,6 +2,6 @@ package main",
@ -225,7 +225,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "0473726d6cf870acc191460c76102d505a6881e8..ba6ff6ac9a51a43da1bd92f44ff3de361e631491"
"shas": "d0ef8fc1b7880068b0149e661e88b62a10ceef63..1fd33d1bf8b0dadc72e2fa1699c051c2f8790a79"
}
,{
"testCaseDescription": "go-struct-field-declarations-delete-insert-test",
@ -245,7 +245,7 @@
]
}
},
"summary": "Deleted the 'g int' field declaration in the s3 type declaration of the 'main' function"
"summary": "Deleted the 'g int' field declaration in the struct {} struct type of the 'main' function"
}
]
},
@ -256,7 +256,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index bc84b14..60d13f4 100644",
"index bc84b146..60d13f45 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -1,7 +1,5 @@",
@ -270,7 +270,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ba6ff6ac9a51a43da1bd92f44ff3de361e631491..69ef4771ea094a8d8ce705a430e17257bfc886c9"
"shas": "1fd33d1bf8b0dadc72e2fa1699c051c2f8790a79..5c3a9c2650ab752f66823609287c08d634077495"
}
,{
"testCaseDescription": "go-struct-field-declarations-teardown-test",
@ -301,7 +301,7 @@
],
"patch": [
"diff --git a/struct-field-declarations.go b/struct-field-declarations.go",
"index 60d13f4..e69de29 100644",
"index 60d13f45..e69de29b 100644",
"--- a/struct-field-declarations.go",
"+++ b/struct-field-declarations.go",
"@@ -1,5 +0,0 @@",
@ -312,5 +312,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "69ef4771ea094a8d8ce705a430e17257bfc886c9..e3716a84312731a0a2987497c714d98eb43215df"
"shas": "5c3a9c2650ab752f66823609287c08d634077495..e3704bedd5da917e83615d76b10a894628b7b1e6"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "55db2fe06bab1194ac40bdfd7dc8bca5d8f62fed..669e3ff2cf5cb0c808fbd9483553aff3119aac9d"
"shas": "4f3eb8976a8ac9e5e89274c170e48accd9770aa5..1a34813748b6f4ecd6ceba142b6af346800215f9"
}
,{
"testCaseDescription": "go-struct-literals-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index 7905807..e6fd4f1 100644",
"index 79058077..e6fd4f15 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -1,5 +1,10 @@",
@ -116,7 +116,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "669e3ff2cf5cb0c808fbd9483553aff3119aac9d..31264d06f8eaf2e05233a9ebbdbd792e2797d3ad"
"shas": "1a34813748b6f4ecd6ceba142b6af346800215f9..eb4215862d8c600743fdc28788661b86a18a0e51"
}
,{
"testCaseDescription": "go-struct-literals-replacement-test",
@ -175,7 +175,7 @@
}
]
},
"summary": "Replaced the 'int' identifier with the 'float' identifier in the s2 var assignment of the 'main' function"
"summary": "Replaced the 'int' identifier with the 'float' identifier in the struct{i float;} struct type of the 'main' function"
},
{
"span": {
@ -237,7 +237,7 @@
{
"start": [
9,
17
12
],
"end": [
9,
@ -247,7 +247,7 @@
{
"start": [
9,
17
12
],
"end": [
9,
@ -256,7 +256,7 @@
}
]
},
"summary": "Replaced the 'Time' identifier with the 'Month' identifier in the s3 var assignment of the 'main' function"
"summary": "Replaced the 'time.Time' qualified identifier with the 'time.Month' qualified identifier in the s3 var assignment of the 'main' function"
}
]
},
@ -267,7 +267,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index e6fd4f1..06724a4 100644",
"index e6fd4f15..06724a46 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -1,10 +1,10 @@",
@ -286,7 +286,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "31264d06f8eaf2e05233a9ebbdbd792e2797d3ad..9a00c998e656775efe032760809daca7cfddde00"
"shas": "eb4215862d8c600743fdc28788661b86a18a0e51..4c59d85a986440a6de8a1727382944fb182e4ff2"
}
,{
"testCaseDescription": "go-struct-literals-delete-replacement-test",
@ -345,7 +345,7 @@
}
]
},
"summary": "Replaced the 'float' identifier with the 'int' identifier in the s2 var assignment of the 'main' function"
"summary": "Replaced the 'float' identifier with the 'int' identifier in the struct{i int;} struct type of the 'main' function"
},
{
"span": {
@ -407,7 +407,7 @@
{
"start": [
9,
17
12
],
"end": [
9,
@ -417,7 +417,7 @@
{
"start": [
9,
17
12
],
"end": [
9,
@ -426,7 +426,7 @@
}
]
},
"summary": "Replaced the 'Month' identifier with the 'Time' identifier in the s3 var assignment of the 'main' function"
"summary": "Replaced the 'time.Month' qualified identifier with the 'time.Time' qualified identifier in the s3 var assignment of the 'main' function"
}
]
},
@ -437,7 +437,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index 06724a4..e6fd4f1 100644",
"index 06724a46..e6fd4f15 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -1,10 +1,10 @@",
@ -456,7 +456,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "9a00c998e656775efe032760809daca7cfddde00..63fd1dedb1ddd55f2dd218dfc4b93d4b959ef30f"
"shas": "4c59d85a986440a6de8a1727382944fb182e4ff2..b729b0742828a79ea6deedf0d7b303c15799b722"
}
,{
"testCaseDescription": "go-struct-literals-delete-insert-test",
@ -517,7 +517,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index e6fd4f1..7905807 100644",
"index e6fd4f15..79058077 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -1,10 +1,5 @@",
@ -534,7 +534,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "63fd1dedb1ddd55f2dd218dfc4b93d4b959ef30f..d31cfda2ccf5253864abe34564742b6600a6bba9"
"shas": "b729b0742828a79ea6deedf0d7b303c15799b722..f12352846db4c2648ea83b44a62d672b7f338030"
}
,{
"testCaseDescription": "go-struct-literals-teardown-test",
@ -565,7 +565,7 @@
],
"patch": [
"diff --git a/struct-literals.go b/struct-literals.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/struct-literals.go",
"+++ b/struct-literals.go",
"@@ -1,5 +0,0 @@",
@ -576,5 +576,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "d31cfda2ccf5253864abe34564742b6600a6bba9..2bd4831433df7f47de8e29abed25c68de14722f2"
"shas": "f12352846db4c2648ea83b44a62d672b7f338030..d048a98a9a74c54069a496d7e50c481f9bf118df"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "65f9b951e0ca2913336697e29d8e82466117d13e..5d9fb4ad0f781018fc6fa044969026d3a841fc20"
"shas": "fab1dcdf1ee0c86193d9e8af8a03ed5bb0c006ce..5b0848267b37f6e22ddddd32ceda94cb2c640543"
}
,{
"testCaseDescription": "go-struct-types-insert-test",
@ -114,7 +114,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index 7905807..13c82f8 100644",
"index 79058077..13c82f80 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -1,5 +1,13 @@",
@ -134,7 +134,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "5d9fb4ad0f781018fc6fa044969026d3a841fc20..efd18712c916bed785ea031243a1e3b93fdc6029"
"shas": "5b0848267b37f6e22ddddd32ceda94cb2c640543..3216453959d88c79bc199c74be1636e6d8b74182"
}
,{
"testCaseDescription": "go-struct-types-replacement-test",
@ -166,7 +166,7 @@
}
]
},
"summary": "Replaced the 's1' identifier with the 't1' identifier in the t1 type declaration of the 'main' function"
"summary": "Replaced the 's1' identifier with the 't1' identifier in the 't1' type declaration of the 'main' function"
},
{
"span": {
@ -193,7 +193,7 @@
}
]
},
"summary": "Replaced the 's2' identifier with the 't2' identifier in the t2 type declaration of the 'main' function"
"summary": "Replaced the 's2' identifier with the 't2' identifier in the 't2' type declaration of the 'main' function"
},
{
"span": {
@ -220,7 +220,7 @@
}
]
},
"summary": "Replaced the 's3' identifier with the 't3' identifier in the t3 type declaration of the 'main' function"
"summary": "Replaced the 's3' identifier with the 't3' identifier in the 't3' type declaration of the 'main' function"
},
{
"span": {
@ -247,7 +247,7 @@
}
]
},
"summary": "Replaced the 's4' identifier with the 't4' identifier in the t4 type declaration of the 'main' function"
"summary": "Replaced the 's4' identifier with the 't4' identifier in the 't4' type declaration of the 'main' function"
}
]
},
@ -258,7 +258,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index 13c82f8..d73e92a 100644",
"index 13c82f80..d73e92a6 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -1,12 +1,12 @@",
@ -280,7 +280,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "efd18712c916bed785ea031243a1e3b93fdc6029..aed77a6ac48aafba9aacb92a0272585e60475e15"
"shas": "3216453959d88c79bc199c74be1636e6d8b74182..8a3677c077a240ce2b051a851fd2def1e06e5414"
}
,{
"testCaseDescription": "go-struct-types-delete-replacement-test",
@ -312,7 +312,7 @@
}
]
},
"summary": "Replaced the 't1' identifier with the 's1' identifier in the s1 type declaration of the 'main' function"
"summary": "Replaced the 't1' identifier with the 's1' identifier in the 's1' type declaration of the 'main' function"
},
{
"span": {
@ -339,7 +339,7 @@
}
]
},
"summary": "Replaced the 't2' identifier with the 's2' identifier in the s2 type declaration of the 'main' function"
"summary": "Replaced the 't2' identifier with the 's2' identifier in the 's2' type declaration of the 'main' function"
},
{
"span": {
@ -366,7 +366,7 @@
}
]
},
"summary": "Replaced the 't3' identifier with the 's3' identifier in the s3 type declaration of the 'main' function"
"summary": "Replaced the 't3' identifier with the 's3' identifier in the 's3' type declaration of the 'main' function"
},
{
"span": {
@ -393,7 +393,7 @@
}
]
},
"summary": "Replaced the 't4' identifier with the 's4' identifier in the s4 type declaration of the 'main' function"
"summary": "Replaced the 't4' identifier with the 's4' identifier in the 's4' type declaration of the 'main' function"
}
]
},
@ -404,7 +404,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index d73e92a..13c82f8 100644",
"index d73e92a6..13c82f80 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -1,12 +1,12 @@",
@ -426,7 +426,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "aed77a6ac48aafba9aacb92a0272585e60475e15..65c25dcea1b08fd77e049bc02612b8fd3b5785e3"
"shas": "8a3677c077a240ce2b051a851fd2def1e06e5414..94c5c56548af78749062b91d92ba17723bddf978"
}
,{
"testCaseDescription": "go-struct-types-delete-insert-test",
@ -502,7 +502,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index 13c82f8..7905807 100644",
"index 13c82f80..79058077 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -1,13 +1,5 @@",
@ -522,7 +522,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "65c25dcea1b08fd77e049bc02612b8fd3b5785e3..1ac22fce544b65e67bbdd1dfa513c9aa21f325e8"
"shas": "94c5c56548af78749062b91d92ba17723bddf978..63ab3f407759b7a6abf7e6c8a7b8be10e31531bc"
}
,{
"testCaseDescription": "go-struct-types-teardown-test",
@ -553,7 +553,7 @@
],
"patch": [
"diff --git a/struct-types.go b/struct-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/struct-types.go",
"+++ b/struct-types.go",
"@@ -1,5 +0,0 @@",
@ -564,5 +564,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "1ac22fce544b65e67bbdd1dfa513c9aa21f325e8..11cf3406e727046a2188e45a78cc38790f87bac9"
"shas": "63ab3f407759b7a6abf7e6c8a7b8be10e31531bc..455468cd0dec3510c76e0db4e450171890bcb2bd"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "23874e933b13d7ac439111764b1ed1443d0a63b0..15b28fd75e9a0014776d787cd73d8a262c5212a7"
"shas": "1792c5e9f49969317e3f1906a524030fa6b7f07a..1f4e0b98530b07288929d4bbef605dad70faf07a"
}
,{
"testCaseDescription": "go-switch-statements-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index 7905807..5cdd438 100644",
"index 79058077..5cdd438b 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -1,5 +1,8 @@",
@ -84,7 +84,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "15b28fd75e9a0014776d787cd73d8a262c5212a7..aec1e9d87e59a95a60c0acd03d6fbc278c7b6d83"
"shas": "1f4e0b98530b07288929d4bbef605dad70faf07a..9286a367d9a9f077f8620f6fe48361ea048dbde4"
}
,{
"testCaseDescription": "go-switch-statements-replacement-test",
@ -262,7 +262,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index 5cdd438..0b83893 100644",
"index 5cdd438b..0b838937 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -1,8 +1,8 @@",
@ -279,7 +279,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "aec1e9d87e59a95a60c0acd03d6fbc278c7b6d83..ce19396895dd7f5b4a09441f5c1ee36c5d57a544"
"shas": "9286a367d9a9f077f8620f6fe48361ea048dbde4..286890ac01b927963d20302701830fcb7ac9ab61"
}
,{
"testCaseDescription": "go-switch-statements-delete-replacement-test",
@ -457,7 +457,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index 0b83893..5cdd438 100644",
"index 0b838937..5cdd438b 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -1,8 +1,8 @@",
@ -474,7 +474,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ce19396895dd7f5b4a09441f5c1ee36c5d57a544..97376c8d60990a1adade36011edb2951a9059579"
"shas": "286890ac01b927963d20302701830fcb7ac9ab61..8693cadef8830c7ae2339bd01f6756e843ed6c34"
}
,{
"testCaseDescription": "go-switch-statements-delete-insert-test",
@ -505,7 +505,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index 5cdd438..7905807 100644",
"index 5cdd438b..79058077 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -1,8 +1,5 @@",
@ -520,7 +520,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "97376c8d60990a1adade36011edb2951a9059579..203858d5e5dddd74b0b92ccf41c5da581c21f015"
"shas": "8693cadef8830c7ae2339bd01f6756e843ed6c34..de30a627bdc43763fca86559076b44c79e9675fa"
}
,{
"testCaseDescription": "go-switch-statements-teardown-test",
@ -551,7 +551,7 @@
],
"patch": [
"diff --git a/switch-statements.go b/switch-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/switch-statements.go",
"+++ b/switch-statements.go",
"@@ -1,5 +0,0 @@",
@ -562,5 +562,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "203858d5e5dddd74b0b92ccf41c5da581c21f015..b3c7281ba0bf406f7e6852e6d30b0c7b2cb2fc04"
"shas": "de30a627bdc43763fca86559076b44c79e9675fa..d4af54f0d3b9e560bdabccd1ac1355e342d56b34"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "f39c7d56a7c3a174293e7c6157c7410c17c654a3..24d4e33b9c81c8f1937fa8dc5b577675de6d4286"
"shas": "dfd96daa75b1b404d313721c1f5304a9c39ed793..7cef2d5ea6d3ae2572c83b7eeae8740ad5f0e4be"
}
,{
"testCaseDescription": "go-type-assertion-expressions-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index 7905807..4f148f4 100644",
"index 79058077..4f148f43 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "24d4e33b9c81c8f1937fa8dc5b577675de6d4286..95c6043503f246feeed7a1b26a5868882267f2b8"
"shas": "7cef2d5ea6d3ae2572c83b7eeae8740ad5f0e4be..10db8afdd550765758c09c64496206e4914d2d89"
}
,{
"testCaseDescription": "go-type-assertion-expressions-replacement-test",
@ -125,7 +125,7 @@
],
"end": [
4,
5
12
]
},
{
@ -133,33 +133,6 @@
4,
4
],
"end": [
4,
5
]
}
]
},
"summary": "Replaced the 'z' identifier with the 'c' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
4,
6
],
"end": [
4,
12
]
},
{
"start": [
4,
6
],
"end": [
4,
9
@ -167,7 +140,7 @@
}
]
},
"summary": "Replaced the 'Person' identifier with the 'Dog' identifier in the main function of the 'main' module"
"summary": "Replaced the 'z.Person' qualified identifier with the 'c.Dog' qualified identifier in the main function of the 'main' module"
}
]
},
@ -178,7 +151,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index 4f148f4..e7463b4 100644",
"index 4f148f43..e7463b41 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -1,5 +1,5 @@",
@ -190,7 +163,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "95c6043503f246feeed7a1b26a5868882267f2b8..d25d882307811a8290a3ee83cb3e4cfe8387655a"
"shas": "10db8afdd550765758c09c64496206e4914d2d89..953c259a146a96c6651cfab229ceeab7d027e2e6"
}
,{
"testCaseDescription": "go-type-assertion-expressions-delete-replacement-test",
@ -234,7 +207,7 @@
],
"end": [
4,
5
9
]
},
{
@ -242,33 +215,6 @@
4,
4
],
"end": [
4,
5
]
}
]
},
"summary": "Replaced the 'c' identifier with the 'z' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
4,
6
],
"end": [
4,
9
]
},
{
"start": [
4,
6
],
"end": [
4,
12
@ -276,7 +222,7 @@
}
]
},
"summary": "Replaced the 'Dog' identifier with the 'Person' identifier in the main function of the 'main' module"
"summary": "Replaced the 'c.Dog' qualified identifier with the 'z.Person' qualified identifier in the main function of the 'main' module"
}
]
},
@ -287,7 +233,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index e7463b4..4f148f4 100644",
"index e7463b41..4f148f43 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -1,5 +1,5 @@",
@ -299,7 +245,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d25d882307811a8290a3ee83cb3e4cfe8387655a..ae276bcda533d9b7467451b4864585c00b5e0fb4"
"shas": "953c259a146a96c6651cfab229ceeab7d027e2e6..a47923fde79bfe4fa7c1dd5a930d45ae014492a6"
}
,{
"testCaseDescription": "go-type-assertion-expressions-delete-insert-test",
@ -330,7 +276,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index 4f148f4..7905807 100644",
"index 4f148f43..79058077 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -1,5 +1,5 @@",
@ -342,7 +288,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ae276bcda533d9b7467451b4864585c00b5e0fb4..5d341bf39ac6e36b5acad4ce455beb73293b3ea5"
"shas": "a47923fde79bfe4fa7c1dd5a930d45ae014492a6..7ab70389e339c876aa749575d4b897aeba2b2a95"
}
,{
"testCaseDescription": "go-type-assertion-expressions-teardown-test",
@ -373,7 +319,7 @@
],
"patch": [
"diff --git a/type-assertion-expressions.go b/type-assertion-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/type-assertion-expressions.go",
"+++ b/type-assertion-expressions.go",
"@@ -1,5 +0,0 @@",
@ -384,5 +330,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "5d341bf39ac6e36b5acad4ce455beb73293b3ea5..3a8236b9d52638e4cb632f80f594ea015576542d"
"shas": "7ab70389e339c876aa749575d4b897aeba2b2a95..68a4f3b62b94d9a47fea178eedcb2614a386054d"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "3a8236b9d52638e4cb632f80f594ea015576542d..586a355da1bef3304c4b4dc15288cc858ba7c93b"
"shas": "68a4f3b62b94d9a47fea178eedcb2614a386054d..c0b4558e2199a8524547249a71401d248a5bfcc3"
}
,{
"testCaseDescription": "go-type-conversion-expressions-insert-test",
@ -114,7 +114,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index 7905807..c6d65a7 100644",
"index 79058077..c6d65a70 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -1,5 +1,8 @@",
@ -129,7 +129,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "586a355da1bef3304c4b4dc15288cc858ba7c93b..123ff93ebf5396e45fb0cf4f55f4cfb0acb06e42"
"shas": "c0b4558e2199a8524547249a71401d248a5bfcc3..1b348d0c9f83f1bcb2f9f7a314eeafbf54f3ad5e"
}
,{
"testCaseDescription": "go-type-conversion-expressions-replacement-test",
@ -146,7 +146,7 @@
],
"end": [
4,
4
6
]
},
{
@ -154,33 +154,6 @@
4,
3
],
"end": [
4,
4
]
}
]
},
"summary": "Replaced the 'a' identifier with the 'x' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
4,
5
],
"end": [
4,
6
]
},
{
"start": [
4,
5
],
"end": [
4,
6
@ -188,7 +161,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'y' identifier in the main function of the 'main' module"
"summary": "Replaced the 'a.b' qualified identifier with the 'x.y' qualified identifier in the main function of the 'main' module"
},
{
"span": {
@ -254,7 +227,7 @@
],
"end": [
5,
6
8
]
},
{
@ -262,33 +235,6 @@
5,
5
],
"end": [
5,
6
]
}
]
},
"summary": "Replaced the 'a' identifier with the 'f' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
5,
7
],
"end": [
5,
8
]
},
{
"start": [
5,
7
],
"end": [
5,
8
@ -296,7 +242,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'g' identifier in the main function of the 'main' module"
"summary": "Replaced the 'a.b' qualified identifier with the 'f.g' qualified identifier in the main function of the 'main' module"
},
{
"span": {
@ -523,7 +469,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index c6d65a7..4c4381a 100644",
"index c6d65a70..4c4381a6 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -1,8 +1,8 @@",
@ -541,7 +487,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "123ff93ebf5396e45fb0cf4f55f4cfb0acb06e42..1f430d2e2255b6cf6408e865dc0eec0036118aa1"
"shas": "1b348d0c9f83f1bcb2f9f7a314eeafbf54f3ad5e..9a4feecc0952d661359d677770be4267f37db250"
}
,{
"testCaseDescription": "go-type-conversion-expressions-delete-replacement-test",
@ -558,7 +504,7 @@
],
"end": [
4,
4
6
]
},
{
@ -566,33 +512,6 @@
4,
3
],
"end": [
4,
4
]
}
]
},
"summary": "Replaced the 'x' identifier with the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
4,
5
],
"end": [
4,
6
]
},
{
"start": [
4,
5
],
"end": [
4,
6
@ -600,7 +519,7 @@
}
]
},
"summary": "Replaced the 'y' identifier with the 'b' identifier in the main function of the 'main' module"
"summary": "Replaced the 'x.y' qualified identifier with the 'a.b' qualified identifier in the main function of the 'main' module"
},
{
"span": {
@ -666,7 +585,7 @@
],
"end": [
5,
6
8
]
},
{
@ -674,33 +593,6 @@
5,
5
],
"end": [
5,
6
]
}
]
},
"summary": "Replaced the 'f' identifier with the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"replace": [
{
"start": [
5,
7
],
"end": [
5,
8
]
},
{
"start": [
5,
7
],
"end": [
5,
8
@ -708,7 +600,7 @@
}
]
},
"summary": "Replaced the 'g' identifier with the 'b' identifier in the main function of the 'main' module"
"summary": "Replaced the 'f.g' qualified identifier with the 'a.b' qualified identifier in the main function of the 'main' module"
},
{
"span": {
@ -935,7 +827,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index 4c4381a..c6d65a7 100644",
"index 4c4381a6..c6d65a70 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -1,8 +1,8 @@",
@ -953,7 +845,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1f430d2e2255b6cf6408e865dc0eec0036118aa1..68fa0f946bae57d57fbeaaf4052fecd1dcbf0047"
"shas": "9a4feecc0952d661359d677770be4267f37db250..d97b0927494147e017cd08eca0bb00ea312bb56a"
}
,{
"testCaseDescription": "go-type-conversion-expressions-delete-insert-test",
@ -1029,7 +921,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index c6d65a7..7905807 100644",
"index c6d65a70..79058077 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -1,8 +1,5 @@",
@ -1044,7 +936,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "68fa0f946bae57d57fbeaaf4052fecd1dcbf0047..074618a9eb62d1151f9ca2eece7a4082121d2ea6"
"shas": "d97b0927494147e017cd08eca0bb00ea312bb56a..9190583f968f268ecfc4c0d0beeb0939dc2526ab"
}
,{
"testCaseDescription": "go-type-conversion-expressions-teardown-test",
@ -1075,7 +967,7 @@
],
"patch": [
"diff --git a/type-conversion-expressions.go b/type-conversion-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/type-conversion-expressions.go",
"+++ b/type-conversion-expressions.go",
"@@ -1,5 +0,0 @@",
@ -1086,5 +978,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "074618a9eb62d1151f9ca2eece7a4082121d2ea6..57dd6a9a5bc7d3128095cd106eeac4343aee4433"
"shas": "9190583f968f268ecfc4c0d0beeb0939dc2526ab..784458f771551f2a275536f0e69db12d97c73f01"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "4350b0252bd440416945effa2baa1821271fefee..f60d4726966bea5bf1f4cf153dd44f6f3ddb3d35"
"shas": "326274c668eeea07035e2a234abe09209887b6df..73e52334295672842fa56069a6f364a2d9e371a7"
}
,{
"testCaseDescription": "go-type-declarations-insert-test",
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index 7905807..1b2c542 100644",
"index 79058077..1b2c5423 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -1,5 +1,9 @@",
@ -115,7 +115,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "f60d4726966bea5bf1f4cf153dd44f6f3ddb3d35..72567b64aeb65ae60464f30cb2d99acb2e7e0f97"
"shas": "73e52334295672842fa56069a6f364a2d9e371a7..af6b41726f0617602a88aa22d0a3fb6b54705e6f"
}
,{
"testCaseDescription": "go-type-declarations-replacement-test",
@ -124,30 +124,228 @@
"type-declarations.go": [
{
"span": {
"replace": [
{
"start": [
3,
1
],
"end": [
9,
2
]
},
{
"start": [
3,
1
],
"end": [
9,
2
]
}
]
"insert": {
"start": [
4,
6
],
"end": [
4,
7
]
}
},
"summary": "Replaced the 'main' function with the 'main' function in the main module"
"summary": "Added the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
4,
7
],
"end": [
4,
9
]
}
},
"summary": "Added the '' ' error in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
4,
9
],
"end": [
4,
10
]
}
},
"summary": "Added the 'b' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
4,
10
],
"end": [
5,
1
]
}
},
"summary": "Added the ''\n' error in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
6,
2
],
"end": [
6,
3
]
}
},
"summary": "Added the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
6,
3
],
"end": [
6,
5
]
}
},
"summary": "Added the '' ' error in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
6,
5
],
"end": [
6,
6
]
}
},
"summary": "Added the 'b' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
6,
6
],
"end": [
7,
1
]
}
},
"summary": "Added the ''\n' error in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
7,
2
],
"end": [
7,
3
]
}
},
"summary": "Added the 'c' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
7,
3
],
"end": [
7,
5
]
}
},
"summary": "Added the '' ' error in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
7,
5
],
"end": [
7,
6
]
}
},
"summary": "Added the 'd' identifier in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
7,
6
],
"end": [
8,
1
]
}
},
"summary": "Added the ''\n' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
6
],
"end": [
4,
9
]
}
},
"summary": "Deleted the 'a' type declaration in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
2
],
"end": [
6,
5
]
}
},
"summary": "Deleted the 'a' type declaration in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
2
],
"end": [
7,
5
]
}
},
"summary": "Deleted the 'c' type declaration in the main function of the 'main' module"
}
]
},
@ -158,7 +356,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index 1b2c542..99b445f 100644",
"index 1b2c5423..99b445f9 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -1,9 +1,9 @@",
@ -176,7 +374,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "72567b64aeb65ae60464f30cb2d99acb2e7e0f97..b6ecb2e97f8e9ae9387c2474cbce6e600ceb2b74"
"shas": "af6b41726f0617602a88aa22d0a3fb6b54705e6f..8eaedc4103a4db44d2d39ad3d4d942b6b3be8b34"
}
,{
"testCaseDescription": "go-type-declarations-delete-replacement-test",
@ -185,30 +383,228 @@
"type-declarations.go": [
{
"span": {
"replace": [
{
"start": [
3,
1
],
"end": [
9,
2
]
},
{
"start": [
3,
1
],
"end": [
9,
2
]
}
]
"insert": {
"start": [
4,
6
],
"end": [
4,
9
]
}
},
"summary": "Replaced the 'main' function with the 'main' function in the main module"
"summary": "Added the 'a' type declaration in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
6,
2
],
"end": [
6,
5
]
}
},
"summary": "Added the 'a' type declaration in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
7,
2
],
"end": [
7,
5
]
}
},
"summary": "Added the 'c' type declaration in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
6
],
"end": [
4,
7
]
}
},
"summary": "Deleted the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
7
],
"end": [
4,
9
]
}
},
"summary": "Deleted the '' ' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
9
],
"end": [
4,
10
]
}
},
"summary": "Deleted the 'b' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
4,
10
],
"end": [
5,
1
]
}
},
"summary": "Deleted the ''\n' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
2
],
"end": [
6,
3
]
}
},
"summary": "Deleted the 'a' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
3
],
"end": [
6,
5
]
}
},
"summary": "Deleted the '' ' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
5
],
"end": [
6,
6
]
}
},
"summary": "Deleted the 'b' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
6,
6
],
"end": [
7,
1
]
}
},
"summary": "Deleted the ''\n' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
2
],
"end": [
7,
3
]
}
},
"summary": "Deleted the 'c' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
3
],
"end": [
7,
5
]
}
},
"summary": "Deleted the '' ' error in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
5
],
"end": [
7,
6
]
}
},
"summary": "Deleted the 'd' identifier in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
7,
6
],
"end": [
8,
1
]
}
},
"summary": "Deleted the ''\n' error in the main function of the 'main' module"
}
]
},
@ -219,7 +615,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index 99b445f..1b2c542 100644",
"index 99b445f9..1b2c5423 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -1,9 +1,9 @@",
@ -237,7 +633,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "b6ecb2e97f8e9ae9387c2474cbce6e600ceb2b74..84746912c0e8f949b85bf35e2fa2689eac7a4818"
"shas": "8eaedc4103a4db44d2d39ad3d4d942b6b3be8b34..49788d0a787cfba0de056686a713a0c7700c12f0"
}
,{
"testCaseDescription": "go-type-declarations-delete-insert-test",
@ -298,7 +694,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index 1b2c542..7905807 100644",
"index 1b2c5423..79058077 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -1,9 +1,5 @@",
@ -314,7 +710,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "84746912c0e8f949b85bf35e2fa2689eac7a4818..1409faa58989d574f26b17ba2bd4906d4a230868"
"shas": "49788d0a787cfba0de056686a713a0c7700c12f0..b9cf58e1f6441213ee5aef2bd917f239e3990099"
}
,{
"testCaseDescription": "go-type-declarations-teardown-test",
@ -345,7 +741,7 @@
],
"patch": [
"diff --git a/type-declarations.go b/type-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/type-declarations.go",
"+++ b/type-declarations.go",
"@@ -1,5 +0,0 @@",
@ -356,5 +752,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "1409faa58989d574f26b17ba2bd4906d4a230868..ec0920b704179f760c0897c96869f2acb3f0bfae"
"shas": "b9cf58e1f6441213ee5aef2bd917f239e3990099..d189fd08606f98132afa64428010e6b5d86a0d4b"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "b3c7281ba0bf406f7e6852e6d30b0c7b2cb2fc04..560f50ab9b476501916245ef1966d78209d8b64d"
"shas": "d4af54f0d3b9e560bdabccd1ac1355e342d56b34..4630ac559bbbfedbea5df69252ca27609e988356"
}
,{
"testCaseDescription": "go-type-switch-statements-insert-test",
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index 7905807..fd377c7 100644",
"index 79058077..fd377c7a 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -1,5 +1,10 @@",
@ -86,7 +86,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "560f50ab9b476501916245ef1966d78209d8b64d..208fcbd8aec98d50ff240666b793e742544cb512"
"shas": "4630ac559bbbfedbea5df69252ca27609e988356..925e888eca9f036312340fab6770422f165c58b8"
}
,{
"testCaseDescription": "go-type-switch-statements-replacement-test",
@ -129,7 +129,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index fd377c7..f5ef4d8 100644",
"index fd377c7a..f5ef4d87 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -1,7 +1,7 @@",
@ -143,7 +143,7 @@
" case *Dog:"
],
"gitDir": "test/corpus/repos/go",
"shas": "208fcbd8aec98d50ff240666b793e742544cb512..c5063a39b25cf98bbce6326b740b3a1ac5c1bdf0"
"shas": "925e888eca9f036312340fab6770422f165c58b8..4af253e9d11b3cf34762cd74724216158df33b08"
}
,{
"testCaseDescription": "go-type-switch-statements-delete-replacement-test",
@ -186,7 +186,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index f5ef4d8..fd377c7 100644",
"index f5ef4d87..fd377c7a 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -1,7 +1,7 @@",
@ -200,7 +200,7 @@
" case *Dog:"
],
"gitDir": "test/corpus/repos/go",
"shas": "c5063a39b25cf98bbce6326b740b3a1ac5c1bdf0..d364d92705b375888fc56caf0b7bef177e387bb6"
"shas": "4af253e9d11b3cf34762cd74724216158df33b08..cb2861a2898e3e4fed4465217adb09eb740618b4"
}
,{
"testCaseDescription": "go-type-switch-statements-delete-insert-test",
@ -231,7 +231,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index fd377c7..7905807 100644",
"index fd377c7a..79058077 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -1,10 +1,5 @@",
@ -248,7 +248,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d364d92705b375888fc56caf0b7bef177e387bb6..e611a533059cfe3de2b2cd7cd1f1add7c023b60c"
"shas": "cb2861a2898e3e4fed4465217adb09eb740618b4..73be3066a3b818a2fba10d9df1e873c24193c2ac"
}
,{
"testCaseDescription": "go-type-switch-statements-teardown-test",
@ -279,7 +279,7 @@
],
"patch": [
"diff --git a/type-switch-statements.go b/type-switch-statements.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/type-switch-statements.go",
"+++ b/type-switch-statements.go",
"@@ -1,5 +0,0 @@",
@ -290,5 +290,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "e611a533059cfe3de2b2cd7cd1f1add7c023b60c..6557aefaee0dae39fcaba063092531417e0c2fb1"
"shas": "73be3066a3b818a2fba10d9df1e873c24193c2ac..fbe6e91c23da3949f63a0e46bb4472bcc7e4286d"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "57dd6a9a5bc7d3128095cd106eeac4343aee4433..3ccf27d4492c62a2f6a3b589d82b0ad880412aed"
"shas": "784458f771551f2a275536f0e69db12d97c73f01..848ee9085c81d3616afebdd45ce2e585b3a70c04"
}
,{
"testCaseDescription": "go-unary-expressions-insert-test",
@ -50,7 +50,7 @@
"insert": {
"start": [
4,
4
1
],
"end": [
4,
@ -58,14 +58,14 @@
]
}
},
"summary": "Added the 'a' identifier in the main function of the 'main' module"
"summary": "Added the '!<-a' operator in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
5,
2
1
],
"end": [
5,
@ -73,7 +73,7 @@
]
}
},
"summary": "Added the 'foo()' function call in the main function of the 'main' module"
"summary": "Added the '*foo()' operator in the main function of the 'main' module"
}
]
},
@ -84,7 +84,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index 7905807..bdf9ccc 100644",
"index 79058077..bdf9ccc5 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -1,5 +1,6 @@",
@ -97,7 +97,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "3ccf27d4492c62a2f6a3b589d82b0ad880412aed..562218a598df4f3dc179aef7c1fc97ce86e2d405"
"shas": "848ee9085c81d3616afebdd45ce2e585b3a70c04..668f77529b691473446114e20dce225a0f303b04"
}
,{
"testCaseDescription": "go-unary-expressions-replacement-test",
@ -167,7 +167,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index bdf9ccc..cf8ed88 100644",
"index bdf9ccc5..cf8ed882 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -1,6 +1,6 @@",
@ -181,7 +181,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "562218a598df4f3dc179aef7c1fc97ce86e2d405..ecf13586db0209429af9e52ded9cc36b123f6422"
"shas": "668f77529b691473446114e20dce225a0f303b04..dac2923d9d179d136287dfb58aac544671b59f56"
}
,{
"testCaseDescription": "go-unary-expressions-delete-replacement-test",
@ -251,7 +251,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index cf8ed88..bdf9ccc 100644",
"index cf8ed882..bdf9ccc5 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -1,6 +1,6 @@",
@ -265,7 +265,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ecf13586db0209429af9e52ded9cc36b123f6422..ebd1b4d6118a59cee4a84142086271f9bce916c0"
"shas": "dac2923d9d179d136287dfb58aac544671b59f56..36cfa7b903c9b5ec0562fd17d45c80ce170727c3"
}
,{
"testCaseDescription": "go-unary-expressions-delete-insert-test",
@ -277,7 +277,7 @@
"delete": {
"start": [
4,
4
1
],
"end": [
4,
@ -285,14 +285,14 @@
]
}
},
"summary": "Deleted the 'a' identifier in the main function of the 'main' module"
"summary": "Deleted the '!<-a' operator in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
2
1
],
"end": [
5,
@ -300,7 +300,7 @@
]
}
},
"summary": "Deleted the 'foo()' function call in the main function of the 'main' module"
"summary": "Deleted the '*foo()' operator in the main function of the 'main' module"
}
]
},
@ -311,7 +311,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index bdf9ccc..7905807 100644",
"index bdf9ccc5..79058077 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -1,6 +1,5 @@",
@ -324,7 +324,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "ebd1b4d6118a59cee4a84142086271f9bce916c0..dfa9f8932180f8c141182d0b13166daec38fa45f"
"shas": "36cfa7b903c9b5ec0562fd17d45c80ce170727c3..add643bb4481c56a7cb3a5c8a447b6c9bf1ecd4d"
}
,{
"testCaseDescription": "go-unary-expressions-teardown-test",
@ -355,7 +355,7 @@
],
"patch": [
"diff --git a/unary-expressions.go b/unary-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/unary-expressions.go",
"+++ b/unary-expressions.go",
"@@ -1,5 +0,0 @@",
@ -366,5 +366,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "dfa9f8932180f8c141182d0b13166daec38fa45f..0a40b22c43aa00db120bff03da0f027e53466491"
"shas": "add643bb4481c56a7cb3a5c8a447b6c9bf1ecd4d..f5535c936fcd3af4df3da2046b73161b0f2290cc"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "68b0433ce578c508bea8099328172212102f78f2..39ed5e1b0492718a2f1ee4dd17f673a7b87f4029"
"shas": "7f27514fe8e2704be349add10b98e8fe9a70eb2b..68f2c072f86cb2e6282682cf9586b66db9ff95fa"
}
,{
"testCaseDescription": "go-var-declarations-with-no-expressions-insert-test",
@ -50,11 +50,11 @@
"insert": {
"start": [
4,
1
5
],
"end": [
4,
13
9
]
}
},
@ -65,11 +65,11 @@
"insert": {
"start": [
5,
1
5
],
"end": [
5,
20
8
]
}
},
@ -80,11 +80,11 @@
"insert": {
"start": [
5,
1
10
],
"end": [
5,
20
13
]
}
},
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index 7905807..fcdc312 100644",
"index 79058077..fcdc3127 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -1,5 +1,6 @@",
@ -112,7 +112,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "39ed5e1b0492718a2f1ee4dd17f673a7b87f4029..8d69864fc0ecf74a6b6ec4ab93e62e3587d7a899"
"shas": "68f2c072f86cb2e6282682cf9586b66db9ff95fa..50525aa58d870bb29ebf2748b0790e3d3389f6bc"
}
,{
"testCaseDescription": "go-var-declarations-with-no-expressions-replacement-test",
@ -209,7 +209,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index fcdc312..8aab74f 100644",
"index fcdc3127..8aab74f1 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -1,6 +1,6 @@",
@ -223,7 +223,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "8d69864fc0ecf74a6b6ec4ab93e62e3587d7a899..008acc104c518fd048963a4b629a63b20c5f6656"
"shas": "50525aa58d870bb29ebf2748b0790e3d3389f6bc..92f1dde57fd8b6dc1832eae0799399b8a5959358"
}
,{
"testCaseDescription": "go-var-declarations-with-no-expressions-delete-replacement-test",
@ -320,7 +320,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index 8aab74f..fcdc312 100644",
"index 8aab74f1..fcdc3127 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -1,6 +1,6 @@",
@ -334,7 +334,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "008acc104c518fd048963a4b629a63b20c5f6656..95f4fe834a79d64d1e7fd4b39740543c94ab5b26"
"shas": "92f1dde57fd8b6dc1832eae0799399b8a5959358..9b83661f3c9ba6ad69dcd7a4ff5d2f6b48c5afcc"
}
,{
"testCaseDescription": "go-var-declarations-with-no-expressions-delete-insert-test",
@ -346,11 +346,11 @@
"delete": {
"start": [
4,
1
5
],
"end": [
4,
13
9
]
}
},
@ -361,11 +361,11 @@
"delete": {
"start": [
5,
1
5
],
"end": [
5,
20
8
]
}
},
@ -376,11 +376,11 @@
"delete": {
"start": [
5,
1
10
],
"end": [
5,
20
13
]
}
},
@ -395,7 +395,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index fcdc312..7905807 100644",
"index fcdc3127..79058077 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -1,6 +1,5 @@",
@ -408,7 +408,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "95f4fe834a79d64d1e7fd4b39740543c94ab5b26..1913a11d5073f87e4463e07e2f588125aef87b60"
"shas": "9b83661f3c9ba6ad69dcd7a4ff5d2f6b48c5afcc..35de76238d81875c391a6a006ac49df6da62dd7e"
}
,{
"testCaseDescription": "go-var-declarations-with-no-expressions-teardown-test",
@ -439,7 +439,7 @@
],
"patch": [
"diff --git a/var-declarations-with-no-expressions.go b/var-declarations-with-no-expressions.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/var-declarations-with-no-expressions.go",
"+++ b/var-declarations-with-no-expressions.go",
"@@ -1,5 +0,0 @@",
@ -450,5 +450,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "1913a11d5073f87e4463e07e2f588125aef87b60..9a02b82ed791d6093b557bde927da0db6586a141"
"shas": "35de76238d81875c391a6a006ac49df6da62dd7e..cb70743c2dadaed8a2d43a98a43b66b8e8798eed"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "a8a99abb6559cc8ca7744a5477ccdcebaf4d6fa1..d2a11af0730998ba1f08bab00f2e300bb84f4df0"
"shas": "00dc032c69a639c57b39083d073b734044bb0cc0..8d03e0c4f9a6f5da731ee995c42fb71c0121f123"
}
,{
"testCaseDescription": "go-var-declarations-with-types-insert-test",
@ -50,7 +50,7 @@
"insert": {
"start": [
4,
1
5
],
"end": [
4,
@ -58,14 +58,14 @@
]
}
},
"summary": "Added the 'zero' variable in the main function of the 'main' module"
"summary": "Added the 'zero' var assignment in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
5,
1
5
],
"end": [
5,
@ -73,14 +73,14 @@
]
}
},
"summary": "Added the 'one' variable in the main function of the 'main' module"
"summary": "Added the 'one' var assignment in the main function of the 'main' module"
},
{
"span": {
"insert": {
"start": [
5,
1
5
],
"end": [
5,
@ -88,7 +88,7 @@
]
}
},
"summary": "Added the 'two' variable in the main function of the 'main' module"
"summary": "Added the 'two' var assignment in the main function of the 'main' module"
}
]
},
@ -99,7 +99,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index 7905807..d946c80 100644",
"index 79058077..d946c807 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -1,5 +1,6 @@",
@ -112,7 +112,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d2a11af0730998ba1f08bab00f2e300bb84f4df0..7bb8f9ca4df4b18436c6ff58d1668f99ebd117ab"
"shas": "8d03e0c4f9a6f5da731ee995c42fb71c0121f123..810ef683c288af361df2ba29863dfbe254edafa2"
}
,{
"testCaseDescription": "go-var-declarations-with-types-replacement-test",
@ -144,7 +144,7 @@
}
]
},
"summary": "Replaced the 'zero' identifier with the 'a' identifier in the a variable of the 'main' function"
"summary": "Replaced the 'zero' identifier with the 'a' identifier in the a var assignment of the 'main' function"
},
{
"span": {
@ -171,7 +171,7 @@
}
]
},
"summary": "Replaced the 'one' identifier with the 'b' identifier in the b variable of the 'main' function"
"summary": "Replaced the 'one' identifier with the 'b' identifier in the b var assignment of the 'main' function"
},
{
"span": {
@ -198,7 +198,7 @@
}
]
},
"summary": "Replaced the 'two' identifier with the 'c' identifier in the c variable of the 'main' function"
"summary": "Replaced the 'two' identifier with the 'c' identifier in the c var assignment of the 'main' function"
}
]
},
@ -209,7 +209,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index d946c80..14683f6 100644",
"index d946c807..14683f6f 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -1,6 +1,6 @@",
@ -223,7 +223,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "7bb8f9ca4df4b18436c6ff58d1668f99ebd117ab..799c0d534662d6ac20b970562303d4f96325a8c0"
"shas": "810ef683c288af361df2ba29863dfbe254edafa2..fc3b1408e44d02f0f06be9009835d8ec78dd5e29"
}
,{
"testCaseDescription": "go-var-declarations-with-types-delete-replacement-test",
@ -255,7 +255,7 @@
}
]
},
"summary": "Replaced the 'a' identifier with the 'zero' identifier in the zero variable of the 'main' function"
"summary": "Replaced the 'a' identifier with the 'zero' identifier in the zero var assignment of the 'main' function"
},
{
"span": {
@ -282,7 +282,7 @@
}
]
},
"summary": "Replaced the 'b' identifier with the 'one' identifier in the one variable of the 'main' function"
"summary": "Replaced the 'b' identifier with the 'one' identifier in the one var assignment of the 'main' function"
},
{
"span": {
@ -309,7 +309,7 @@
}
]
},
"summary": "Replaced the 'c' identifier with the 'two' identifier in the two variable of the 'main' function"
"summary": "Replaced the 'c' identifier with the 'two' identifier in the two var assignment of the 'main' function"
}
]
},
@ -320,7 +320,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index 14683f6..d946c80 100644",
"index 14683f6f..d946c807 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -1,6 +1,6 @@",
@ -334,7 +334,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "799c0d534662d6ac20b970562303d4f96325a8c0..67068b18f1daae658cbddcc527d0ded1d843c99c"
"shas": "fc3b1408e44d02f0f06be9009835d8ec78dd5e29..7d59c3a26e662fc27574a5486c3e2263104cb724"
}
,{
"testCaseDescription": "go-var-declarations-with-types-delete-insert-test",
@ -346,7 +346,7 @@
"delete": {
"start": [
4,
1
5
],
"end": [
4,
@ -354,14 +354,14 @@
]
}
},
"summary": "Deleted the 'zero' variable in the main function of the 'main' module"
"summary": "Deleted the 'zero' var assignment in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
1
5
],
"end": [
5,
@ -369,14 +369,14 @@
]
}
},
"summary": "Deleted the 'one' variable in the main function of the 'main' module"
"summary": "Deleted the 'one' var assignment in the main function of the 'main' module"
},
{
"span": {
"delete": {
"start": [
5,
1
5
],
"end": [
5,
@ -384,7 +384,7 @@
]
}
},
"summary": "Deleted the 'two' variable in the main function of the 'main' module"
"summary": "Deleted the 'two' var assignment in the main function of the 'main' module"
}
]
},
@ -395,7 +395,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index d946c80..7905807 100644",
"index d946c807..79058077 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -1,6 +1,5 @@",
@ -408,7 +408,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "67068b18f1daae658cbddcc527d0ded1d843c99c..3189587535b2b627702c0be950e3bf8e5a689811"
"shas": "7d59c3a26e662fc27574a5486c3e2263104cb724..9a662f6ae2f480894bcf05eb4682e8422b571098"
}
,{
"testCaseDescription": "go-var-declarations-with-types-teardown-test",
@ -439,7 +439,7 @@
],
"patch": [
"diff --git a/var-declarations-with-types.go b/var-declarations-with-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/var-declarations-with-types.go",
"+++ b/var-declarations-with-types.go",
"@@ -1,5 +0,0 @@",
@ -450,5 +450,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "3189587535b2b627702c0be950e3bf8e5a689811..68b0433ce578c508bea8099328172212102f78f2"
"shas": "9a662f6ae2f480894bcf05eb4682e8422b571098..7f27514fe8e2704be349add10b98e8fe9a70eb2b"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "38522d7429c9cfae204c5a1087b0d6906b7d02e4..1570ab84c93b56d50200dc316c116005703da97b"
"shas": "6e496e504c93beee0c719d335706c22938bbf519..1bf70d49e22b839d8d7bcf27da35796f285d5b65"
}
,{
"testCaseDescription": "go-var-declarations-without-types-insert-test",
@ -50,7 +50,7 @@
"insert": {
"start": [
4,
1
5
],
"end": [
4,
@ -58,7 +58,7 @@
]
}
},
"summary": "Added the 'zero' variable in the main function of the 'main' module"
"summary": "Added the 'zero' var assignment in the main function of the 'main' module"
}
]
},
@ -69,7 +69,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index 7905807..64f6074 100644",
"index 79058077..64f60746 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -81,7 +81,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "1570ab84c93b56d50200dc316c116005703da97b..d1c407cd806f3e628886312c0f82cb57592ed647"
"shas": "1bf70d49e22b839d8d7bcf27da35796f285d5b65..c1292e8288934cd1f8b36e74f203416f282a9672"
}
,{
"testCaseDescription": "go-var-declarations-without-types-replacement-test",
@ -113,7 +113,7 @@
}
]
},
"summary": "Replaced the 'zero' identifier with the 'one' identifier in the one variable of the 'main' function"
"summary": "Replaced the 'zero' identifier with the 'one' identifier in the one var assignment of the 'main' function"
},
{
"span": {
@ -140,14 +140,14 @@
}
]
},
"summary": "Replaced '0' with '1' in the one variable of the 'main' function"
"summary": "Replaced '0' with '1' in the one var assignment of the 'main' function"
},
{
"span": {
"insert": {
"start": [
4,
1
5
],
"end": [
4,
@ -155,7 +155,7 @@
]
}
},
"summary": "Added the 'two' variable in the main function of the 'main' module"
"summary": "Added the 'two' var assignment in the main function of the 'main' module"
}
]
},
@ -166,7 +166,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index 64f6074..88a72ee 100644",
"index 64f60746..88a72ee0 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -178,7 +178,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d1c407cd806f3e628886312c0f82cb57592ed647..d877935794c94850cd5c157778f337e2702666c0"
"shas": "c1292e8288934cd1f8b36e74f203416f282a9672..daa0439b6a3b01823afe2b2d285db52a1d55467b"
}
,{
"testCaseDescription": "go-var-declarations-without-types-delete-replacement-test",
@ -210,7 +210,7 @@
}
]
},
"summary": "Replaced the 'one' identifier with the 'zero' identifier in the zero variable of the 'main' function"
"summary": "Replaced the 'one' identifier with the 'zero' identifier in the zero var assignment of the 'main' function"
},
{
"span": {
@ -237,14 +237,14 @@
}
]
},
"summary": "Replaced '1' with '0' in the zero variable of the 'main' function"
"summary": "Replaced '1' with '0' in the zero var assignment of the 'main' function"
},
{
"span": {
"delete": {
"start": [
4,
1
5
],
"end": [
4,
@ -252,7 +252,7 @@
]
}
},
"summary": "Deleted the 'two' variable in the main function of the 'main' module"
"summary": "Deleted the 'two' var assignment in the main function of the 'main' module"
}
]
},
@ -263,7 +263,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index 88a72ee..64f6074 100644",
"index 88a72ee0..64f60746 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -275,7 +275,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "d877935794c94850cd5c157778f337e2702666c0..53b93dfca9030a920e38f37ae8ed03e22611e9d6"
"shas": "daa0439b6a3b01823afe2b2d285db52a1d55467b..e1c25c030748d94e54fd3ed16566443e38240de1"
}
,{
"testCaseDescription": "go-var-declarations-without-types-delete-insert-test",
@ -287,7 +287,7 @@
"delete": {
"start": [
4,
1
5
],
"end": [
4,
@ -295,7 +295,7 @@
]
}
},
"summary": "Deleted the 'zero' variable in the main function of the 'main' module"
"summary": "Deleted the 'zero' var assignment in the main function of the 'main' module"
}
]
},
@ -306,7 +306,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index 64f6074..7905807 100644",
"index 64f60746..79058077 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -1,5 +1,5 @@",
@ -318,7 +318,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "53b93dfca9030a920e38f37ae8ed03e22611e9d6..d4e9e062bfa08ea01c840441ac147ff998b1e9be"
"shas": "e1c25c030748d94e54fd3ed16566443e38240de1..59752550417d59d8e28a37c6a762ebd7e2e7d4f8"
}
,{
"testCaseDescription": "go-var-declarations-without-types-teardown-test",
@ -349,7 +349,7 @@
],
"patch": [
"diff --git a/var-declarations-without-types.go b/var-declarations-without-types.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/var-declarations-without-types.go",
"+++ b/var-declarations-without-types.go",
"@@ -1,5 +0,0 @@",
@ -360,5 +360,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "d4e9e062bfa08ea01c840441ac147ff998b1e9be..a8a99abb6559cc8ca7744a5477ccdcebaf4d6fa1"
"shas": "59752550417d59d8e28a37c6a762ebd7e2e7d4f8..00dc032c69a639c57b39083d073b734044bb0cc0"
}]

View File

@ -27,7 +27,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index e69de29..7905807 100644",
"index e69de29b..79058077 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -0,0 +1,5 @@",
@ -38,7 +38,7 @@
"+}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7c2e8f39e68df4ae5a362bc9e19f3b476c0e524f..38d579cf20a517896463568db7b89cc8d7321afc"
"shas": "f889c39f6b16e9b46e41c62a86630722d9d746de..956874b7befa3822d832d40645f09ce3165c558e"
}
,{
"testCaseDescription": "go-variadic-function-declarations-insert-test",
@ -147,7 +147,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 7905807..7447883 100644",
"index 79058077..7447883f 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,5 +1,7 @@",
@ -161,7 +161,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "38d579cf20a517896463568db7b89cc8d7321afc..2c72280c7e6bd60114bc5fc00129b9f5dbe5eb5f"
"shas": "956874b7befa3822d832d40645f09ce3165c558e..48f947a24e4df15e37e254e1d300d883a18d088e"
}
,{
"testCaseDescription": "go-variadic-function-declarations-replacement-test",
@ -258,7 +258,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 7447883..42ee738 100644",
"index 7447883f..42ee7381 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,7 +1,7 @@",
@ -274,7 +274,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "2c72280c7e6bd60114bc5fc00129b9f5dbe5eb5f..75a229f0366630fe755f01f3352f1e7b83b1c725"
"shas": "48f947a24e4df15e37e254e1d300d883a18d088e..59cf9ce4c8dc99ef90031e22674051821bda85b1"
}
,{
"testCaseDescription": "go-variadic-function-declarations-delete-replacement-test",
@ -371,7 +371,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 42ee738..7447883 100644",
"index 42ee7381..7447883f 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,7 +1,7 @@",
@ -387,7 +387,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "75a229f0366630fe755f01f3352f1e7b83b1c725..a32c9e661e5afb5c437ae1386ac35a1e4e5f3273"
"shas": "59cf9ce4c8dc99ef90031e22674051821bda85b1..2322e70792bbf816bcf7c846d275cf5322cbb938"
}
,{
"testCaseDescription": "go-variadic-function-declarations-delete-insert-test",
@ -496,7 +496,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 7447883..7905807 100644",
"index 7447883f..79058077 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,7 +1,5 @@",
@ -510,7 +510,7 @@
" }"
],
"gitDir": "test/corpus/repos/go",
"shas": "a32c9e661e5afb5c437ae1386ac35a1e4e5f3273..7d206d848e1cc05b13f0d6e10947c3a12b353f76"
"shas": "2322e70792bbf816bcf7c846d275cf5322cbb938..c144a90ea39256b782d4e1548ce2d93450b9eda3"
}
,{
"testCaseDescription": "go-variadic-function-declarations-teardown-test",
@ -541,7 +541,7 @@
],
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 7905807..e69de29 100644",
"index 79058077..e69de29b 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,5 +0,0 @@",
@ -552,5 +552,5 @@
"-}"
],
"gitDir": "test/corpus/repos/go",
"shas": "7d206d848e1cc05b13f0d6e10947c3a12b353f76..a5baa11113f4c2c8c2339966a5181d4cf9c7968e"
"shas": "c144a90ea39256b782d4e1548ce2d93450b9eda3..83cac4414da5f44822d05ce3fde8639f0ab7cf89"
}]