mirror of
https://github.com/github/semantic.git
synced 2024-11-27 12:57:49 +03:00
Ruby math assignment (todo: broken)
This commit is contained in:
parent
ce0f690af3
commit
994b7a613e
13
literals.txt
Normal file
13
literals.txt
Normal file
@ -0,0 +1,13 @@
|
||||
===============
|
||||
string literal
|
||||
===============
|
||||
|
||||
-"foo"
|
||||
+"bar"
|
||||
|
||||
---
|
||||
|
||||
@@ summary
|
||||
Added the "foo" string
|
||||
Replaced the "foo" string with the "bar" string
|
||||
Deleted the "bar" string
|
0
test/corpus/diff-summaries-todo/ruby/.gitkeep
Normal file
0
test/corpus/diff-summaries-todo/ruby/.gitkeep
Normal file
1048
test/corpus/diff-summaries-todo/ruby/math_assignment.json
Normal file
1048
test/corpus/diff-summaries-todo/ruby/math_assignment.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "97ba87e0226da1474103d925fc411b9b5bb7a33c",
|
||||
"sha1": "7ab51f3df30a5c087515c6a2c5f23eb4436cf130",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "16c32c1102ffab5ce9b7f2487b1e31c8a283d969"
|
||||
"sha2": "4c6fee8fc99af7b6babf92197adcd711dd41b0d0"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "16c32c1102ffab5ce9b7f2487b1e31c8a283d969",
|
||||
"sha1": "4c6fee8fc99af7b6babf92197adcd711dd41b0d0",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ffc18ce30cd8de026fdd82e37853b04be676e08d"
|
||||
"sha2": "f46e7f79c8eb52cac7171389a61938f228bee000"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-insert-test",
|
||||
@ -114,9 +114,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "ffc18ce30cd8de026fdd82e37853b04be676e08d",
|
||||
"sha1": "f46e7f79c8eb52cac7171389a61938f228bee000",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5b5307e34c4ee76bea9dbfc09b1539dfa5c137ee"
|
||||
"sha2": "588dbb8cf35918f453e2026cf42580103c25a560"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-replacement-test",
|
||||
@ -157,9 +157,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "5b5307e34c4ee76bea9dbfc09b1539dfa5c137ee",
|
||||
"sha1": "588dbb8cf35918f453e2026cf42580103c25a560",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ecc4b7bbdbd11ca3656d299cec04f92aadd9d239"
|
||||
"sha2": "0efbb1b370ccd7bbc8850ee06fd2ab019a25dd90"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-replacement-test",
|
||||
@ -218,9 +218,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "ecc4b7bbdbd11ca3656d299cec04f92aadd9d239",
|
||||
"sha1": "0efbb1b370ccd7bbc8850ee06fd2ab019a25dd90",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "44c8183b5c9f9a36f6b27271f41c82d86ad6f04e"
|
||||
"sha2": "ad4c233e1af7725d9fded17143d311b17d45ecca"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-test",
|
||||
@ -249,9 +249,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "44c8183b5c9f9a36f6b27271f41c82d86ad6f04e",
|
||||
"sha1": "ad4c233e1af7725d9fded17143d311b17d45ecca",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "39c9a410b32a56f3906e262b2bbfe0d974ce8c1a"
|
||||
"sha2": "7c95c36a824fdb19e3b5f1553a105b39d4e14a7f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-rest-test",
|
||||
@ -280,7 +280,7 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "39c9a410b32a56f3906e262b2bbfe0d974ce8c1a",
|
||||
"sha1": "7c95c36a824fdb19e3b5f1553a105b39d4e14a7f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "009f5f934df017c5bcfefa40c4f0e219cbbeaff2"
|
||||
"sha2": "d314f51e85f972c92e456c11bb0c2b6287eca8ca"
|
||||
}]
|
||||
|
@ -7,9 +7,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "009f5f934df017c5bcfefa40c4f0e219cbbeaff2",
|
||||
"sha1": "d314f51e85f972c92e456c11bb0c2b6287eca8ca",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "e1256883f767b253bf7f22334138e3d9b4061136"
|
||||
"sha2": "012d45aee8b7d80b737fb698687adb09926d0b8c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-replacement-insert-test",
|
||||
@ -20,9 +20,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "e1256883f767b253bf7f22334138e3d9b4061136",
|
||||
"sha1": "012d45aee8b7d80b737fb698687adb09926d0b8c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1074f19930ca3b78568ba9ff32bb32c526108d1b"
|
||||
"sha2": "d757fe12b0cacfd1f041cd9e288843f9fcc240b6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-insert-test",
|
||||
@ -33,9 +33,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "1074f19930ca3b78568ba9ff32bb32c526108d1b",
|
||||
"sha1": "d757fe12b0cacfd1f041cd9e288843f9fcc240b6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9eed21363adc711326c14b7c0621967a7ce91f66"
|
||||
"sha2": "4e0ea4c130d6f37cad6f83a2770799e979d35a7b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-replacement-test",
|
||||
@ -46,9 +46,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "9eed21363adc711326c14b7c0621967a7ce91f66",
|
||||
"sha1": "4e0ea4c130d6f37cad6f83a2770799e979d35a7b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5804ab994a42e0406b764d7dccb428ca7dbfa41d"
|
||||
"sha2": "e5a044841df910dad577e66e3342ccad2f561ce6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-replacement-test",
|
||||
@ -59,9 +59,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "5804ab994a42e0406b764d7dccb428ca7dbfa41d",
|
||||
"sha1": "e5a044841df910dad577e66e3342ccad2f561ce6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2cc68b666033c67738b5282c510bc2c425465c6c"
|
||||
"sha2": "88b829fef3567bde16b6c080f726460633d7029c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-test",
|
||||
@ -72,9 +72,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "2cc68b666033c67738b5282c510bc2c425465c6c",
|
||||
"sha1": "88b829fef3567bde16b6c080f726460633d7029c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "39c3141fd9e82cb97710661e4f20abec8af73a68"
|
||||
"sha2": "9e1b27ff3ea33ac9e6dfd5d2383374f482919bcf"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-rest-test",
|
||||
@ -85,7 +85,7 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "39c3141fd9e82cb97710661e4f20abec8af73a68",
|
||||
"sha1": "9e1b27ff3ea33ac9e6dfd5d2383374f482919bcf",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "20c72eb3095059f733c000a072b1ba1dd74826ae"
|
||||
"sha2": "5a3c8fe126338ac223019b5841db5495f9aaccd6"
|
||||
}]
|
||||
|
@ -100,9 +100,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "f799f579d99ecd339d5f59d002ea2144d2eee38d",
|
||||
"sha1": "72411ceb1bf90982a8783c3861784070fb36b694",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d4becb11ea2e9a011c002811232151850eba6209"
|
||||
"sha2": "fdb162ffec942a6f6bd5498ac018c8445168640f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-replacement-insert-test",
|
||||
@ -296,9 +296,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "d4becb11ea2e9a011c002811232151850eba6209",
|
||||
"sha1": "fdb162ffec942a6f6bd5498ac018c8445168640f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "75d1f9dc16e27b60d063143c954704347199b4de"
|
||||
"sha2": "1acea0d44fd76b6f9913a60d35a548f89b8183f9"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-insert-test",
|
||||
@ -489,9 +489,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "75d1f9dc16e27b60d063143c954704347199b4de",
|
||||
"sha1": "1acea0d44fd76b6f9913a60d35a548f89b8183f9",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3b390046eea065daaf73cf3062283f2e742094ba"
|
||||
"sha2": "5663e8c5333c54718662106e58d6da8670b613e2"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-replacement-test",
|
||||
@ -682,9 +682,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "3b390046eea065daaf73cf3062283f2e742094ba",
|
||||
"sha1": "5663e8c5333c54718662106e58d6da8670b613e2",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4b73d780d98a3752df2ba8767ea9fc815643fc17"
|
||||
"sha2": "e5bdaf030dccecaa9e24503dbec12aa5ca4c93d9"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-replacement-test",
|
||||
@ -968,9 +968,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "4b73d780d98a3752df2ba8767ea9fc815643fc17",
|
||||
"sha1": "e5bdaf030dccecaa9e24503dbec12aa5ca4c93d9",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1e6e35d2cd84da2900a0c01c67b01aa75045633d"
|
||||
"sha2": "755f6d03a744801e55f88320e0c64f794df5de53"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-test",
|
||||
@ -1074,9 +1074,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "1e6e35d2cd84da2900a0c01c67b01aa75045633d",
|
||||
"sha1": "755f6d03a744801e55f88320e0c64f794df5de53",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "30a39cb429eac49149723638752a12d75fb0c1cd"
|
||||
"sha2": "5809c247be292caffbc43db29540789277e66301"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-rest-test",
|
||||
@ -1180,7 +1180,7 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "30a39cb429eac49149723638752a12d75fb0c1cd",
|
||||
"sha1": "5809c247be292caffbc43db29540789277e66301",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "7ab51f3df30a5c087515c6a2c5f23eb4436cf130"
|
||||
"sha2": "07780d34b9145bbb1ee276dc84bf0cd40899c6a3"
|
||||
}]
|
||||
|
@ -40,9 +40,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "0dcd94ce00a8f975ec83b043a722bb7949c916f2",
|
||||
"sha1": "9afeac1a0afce82e757f3b4b20279763c977db74",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5f0f9af3d7e2f3b6fd8b5a2fb401a0b0cb1a5558"
|
||||
"sha2": "b7369a0c21e8f0d51a4e989e9bd7bf30756124ca"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-replacement-insert-test",
|
||||
@ -116,9 +116,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "5f0f9af3d7e2f3b6fd8b5a2fb401a0b0cb1a5558",
|
||||
"sha1": "b7369a0c21e8f0d51a4e989e9bd7bf30756124ca",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "aacac8f46989c56f32b17f1fd71b83f1e43303be"
|
||||
"sha2": "78d677e4c14a2b82cf8f4248ac550f0b2e9805ef"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-insert-test",
|
||||
@ -186,9 +186,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "aacac8f46989c56f32b17f1fd71b83f1e43303be",
|
||||
"sha1": "78d677e4c14a2b82cf8f4248ac550f0b2e9805ef",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f2ea56e65e49922c30c58d6faeda59aa9b271979"
|
||||
"sha2": "29570dac290dee7b7e453ca280dae31bf2059c77"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-replacement-test",
|
||||
@ -256,9 +256,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "f2ea56e65e49922c30c58d6faeda59aa9b271979",
|
||||
"sha1": "29570dac290dee7b7e453ca280dae31bf2059c77",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "759495b8cfce849e25c79c7f8e5d5c95b609b24c"
|
||||
"sha2": "e7afcdf3ab9944af9b344e04b93529306c99b9a6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-replacement-test",
|
||||
@ -362,9 +362,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "759495b8cfce849e25c79c7f8e5d5c95b609b24c",
|
||||
"sha1": "e7afcdf3ab9944af9b344e04b93529306c99b9a6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a87b920de7125501dd8c19a045c3ea3f0cc3bcf7"
|
||||
"sha2": "c214826453031e5475382ab1caab17e8daab4ad4"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-test",
|
||||
@ -408,9 +408,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "a87b920de7125501dd8c19a045c3ea3f0cc3bcf7",
|
||||
"sha1": "c214826453031e5475382ab1caab17e8daab4ad4",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ea23e1a280e9c0a64f4dffa4457a8f5a9d44d9a3"
|
||||
"sha2": "aa4a3259b11e8d9e2de8efdcf79ce8be5171883e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-rest-test",
|
||||
@ -454,7 +454,7 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "ea23e1a280e9c0a64f4dffa4457a8f5a9d44d9a3",
|
||||
"sha1": "aa4a3259b11e8d9e2de8efdcf79ce8be5171883e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b7a3ff0ce9e80cd90afbf2c653044880eaaddb0f"
|
||||
"sha2": "72411ceb1bf90982a8783c3861784070fb36b694"
|
||||
}]
|
||||
|
@ -115,9 +115,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "20c72eb3095059f733c000a072b1ba1dd74826ae",
|
||||
"sha1": "5a3c8fe126338ac223019b5841db5495f9aaccd6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "725a8e234d295062480e173efff5d8d195336ac1"
|
||||
"sha2": "b9b92cb94fa4a6c9b0eabc1576a9d79da56012fb"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-replacement-insert-test",
|
||||
@ -368,9 +368,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "725a8e234d295062480e173efff5d8d195336ac1",
|
||||
"sha1": "b9b92cb94fa4a6c9b0eabc1576a9d79da56012fb",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "36648b3949608fbb50c967dd46d3b9654515eeeb"
|
||||
"sha2": "ba0b779062c8a7f45885a03b071d9307ba897760"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-insert-test",
|
||||
@ -594,9 +594,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "36648b3949608fbb50c967dd46d3b9654515eeeb",
|
||||
"sha1": "ba0b779062c8a7f45885a03b071d9307ba897760",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1c1a5aadd4cc9771e7fb031b7f1083c49de79a05"
|
||||
"sha2": "21f5684b86ece48ac5784fa746cd03eb9b66620d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-replacement-test",
|
||||
@ -820,9 +820,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "1c1a5aadd4cc9771e7fb031b7f1083c49de79a05",
|
||||
"sha1": "21f5684b86ece48ac5784fa746cd03eb9b66620d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "be97966226bb9e2b9e278e6576ba3af46f46c974"
|
||||
"sha2": "d9f0a3f69f6dbc681da7a8600f4377aeb1d76af8"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-replacement-test",
|
||||
@ -1181,9 +1181,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "be97966226bb9e2b9e278e6576ba3af46f46c974",
|
||||
"sha1": "d9f0a3f69f6dbc681da7a8600f4377aeb1d76af8",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c5e05d603c9c059ae4792be0eaa62fce248dde15"
|
||||
"sha2": "1a9ad2fd4a96cf771c99329920aaab8e7152e206"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-test",
|
||||
@ -1332,9 +1332,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "c5e05d603c9c059ae4792be0eaa62fce248dde15",
|
||||
"sha1": "1a9ad2fd4a96cf771c99329920aaab8e7152e206",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2e11da3208b710b0ce72131832192ba2146afd07"
|
||||
"sha2": "89fae581f68f88b5b90c8af83aba04c1025b8a6b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-rest-test",
|
||||
@ -1453,7 +1453,7 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "2e11da3208b710b0ce72131832192ba2146afd07",
|
||||
"sha1": "89fae581f68f88b5b90c8af83aba04c1025b8a6b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9a4ac68656e6332e4109b48bd3166fbfb202a7bc"
|
||||
"sha2": "b26c752950183f4c5c3e076766b25187ca4f6ccb"
|
||||
}]
|
||||
|
@ -40,9 +40,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "7eabb33ecc3016595567f3881dab4700ec2477d1",
|
||||
"sha1": "226cd25f7db88b934689939d26b6af3e20a9de62",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "70dfc07bbafd39035ebffa7912401aeaf14b0b8d"
|
||||
"sha2": "6a7d136dfc5a2c84cd2895e4a04c7ffe063bd24a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-replacement-insert-test",
|
||||
@ -116,9 +116,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "70dfc07bbafd39035ebffa7912401aeaf14b0b8d",
|
||||
"sha1": "6a7d136dfc5a2c84cd2895e4a04c7ffe063bd24a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a593df0246cc4e3b0ec5dc74859e5c179f3f544f"
|
||||
"sha2": "5d4aea6d8a7240db582fac7b94ea3c56595f31a9"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-insert-test",
|
||||
@ -186,9 +186,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "a593df0246cc4e3b0ec5dc74859e5c179f3f544f",
|
||||
"sha1": "5d4aea6d8a7240db582fac7b94ea3c56595f31a9",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d2780ace3a207b9454dd73ebcef595f10032ee98"
|
||||
"sha2": "a960aeb39a6b4691d5ff1e47438339d81883829e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-replacement-test",
|
||||
@ -256,9 +256,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "d2780ace3a207b9454dd73ebcef595f10032ee98",
|
||||
"sha1": "a960aeb39a6b4691d5ff1e47438339d81883829e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "20b4bf781d59b196375db00d3804a49013f84f8e"
|
||||
"sha2": "023acb88040028327691e1267ece527e4784d9ce"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-replacement-test",
|
||||
@ -362,9 +362,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "20b4bf781d59b196375db00d3804a49013f84f8e",
|
||||
"sha1": "023acb88040028327691e1267ece527e4784d9ce",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2e735a4001b48e2827a17ec6f3bd021cd4d5bbee"
|
||||
"sha2": "7eb8640d3597f4c383943300a598dfa99322ace8"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-test",
|
||||
@ -408,9 +408,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "2e735a4001b48e2827a17ec6f3bd021cd4d5bbee",
|
||||
"sha1": "7eb8640d3597f4c383943300a598dfa99322ace8",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "59f3a1c8c5cbadeb165cb9c44acd793e2c7edfbe"
|
||||
"sha2": "ecab063f3ab1d4b3a010c6853457a56b722e2b50"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-rest-test",
|
||||
@ -454,7 +454,7 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "59f3a1c8c5cbadeb165cb9c44acd793e2c7edfbe",
|
||||
"sha1": "ecab063f3ab1d4b3a010c6853457a56b722e2b50",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0dcd94ce00a8f975ec83b043a722bb7949c916f2"
|
||||
"sha2": "9afeac1a0afce82e757f3b4b20279763c977db74"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "9a4ac68656e6332e4109b48bd3166fbfb202a7bc",
|
||||
"sha1": "b26c752950183f4c5c3e076766b25187ca4f6ccb",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "725b6b0c1b3367fcccf1a4b2c09b714f995fe7d1"
|
||||
"sha2": "c6b091f1cec191cda33bf428d97f3c4f00340b8e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-replacement-insert-test",
|
||||
@ -161,9 +161,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "725b6b0c1b3367fcccf1a4b2c09b714f995fe7d1",
|
||||
"sha1": "c6b091f1cec191cda33bf428d97f3c4f00340b8e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5de0d65517ecb24b48bcf05e07c445fa64009711"
|
||||
"sha2": "c67c80375909ff6c9f9d6abd029839e281c11afb"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-insert-test",
|
||||
@ -258,9 +258,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "5de0d65517ecb24b48bcf05e07c445fa64009711",
|
||||
"sha1": "c67c80375909ff6c9f9d6abd029839e281c11afb",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "98b966579e4eeb0911128a8db2477d17d6bfb800"
|
||||
"sha2": "b0baecd933891e05d88c25ed2a242f29b410394b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-replacement-test",
|
||||
@ -355,9 +355,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "98b966579e4eeb0911128a8db2477d17d6bfb800",
|
||||
"sha1": "b0baecd933891e05d88c25ed2a242f29b410394b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "7e0228884f96a0bcb6b7ffa8532aaad5c6b95393"
|
||||
"sha2": "4a63150143c4a3e2584a194fff0dc08672ebae10"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-replacement-test",
|
||||
@ -506,9 +506,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "7e0228884f96a0bcb6b7ffa8532aaad5c6b95393",
|
||||
"sha1": "4a63150143c4a3e2584a194fff0dc08672ebae10",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9fd21bb5755a8f7856c1bfa01aacf8679dcf6dcc"
|
||||
"sha2": "f4729f6bb639d9c8027236eaa9e317b9e584aedf"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-test",
|
||||
@ -567,9 +567,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "9fd21bb5755a8f7856c1bfa01aacf8679dcf6dcc",
|
||||
"sha1": "f4729f6bb639d9c8027236eaa9e317b9e584aedf",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f707d2ec412ab020f525824fa460bec682fc8629"
|
||||
"sha2": "de18d49f5d92de5ae3baaf1f1f5ca53ad87ab756"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-rest-test",
|
||||
@ -628,7 +628,7 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "f707d2ec412ab020f525824fa460bec682fc8629",
|
||||
"sha1": "de18d49f5d92de5ae3baaf1f1f5ca53ad87ab756",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "7eabb33ecc3016595567f3881dab4700ec2477d1"
|
||||
"sha2": "226cd25f7db88b934689939d26b6af3e20a9de62"
|
||||
}]
|
||||
|
@ -52,6 +52,13 @@
|
||||
"insert": "%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>",
|
||||
"replacement": "%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n%Q{d{e}f}",
|
||||
"testCaseFilePath": "test/corpus/diff-summaries/ruby/delimiter.json"
|
||||
},
|
||||
{
|
||||
"syntax": "math_assignment",
|
||||
"repoFilePath": "math_assignment.rb",
|
||||
"insert": "x += 1\nx -= 1\nx *= 1\nx /= 1\nx **= 1",
|
||||
"replacement": "x+= 2\nx -= 1\nx *= 1\nx /= 1\nx **= 1",
|
||||
"testCaseFilePath": "test/corpus/diff-summaries/ruby/math_assignment.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7ab51f3df30a5c087515c6a2c5f23eb4436cf130
|
||||
Subproject commit 01c5cfcd41fd9dd9d461d9c1979427b3fa002118
|
Loading…
Reference in New Issue
Block a user