1
1
mirror of https://github.com/github/semantic.git synced 2025-01-06 06:46:07 +03:00
semantic/test/corpus/generated/go.json

24 lines
674 B
JSON
Raw Normal View History

2016-10-18 21:49:45 +03:00
[
{
"repoPath": "test/corpus/repos/go",
"repoUrl": "https://github.com/joshvera/go.git",
"language": "go",
2016-10-18 23:10:22 +03:00
"templateText": "package main\n",
2016-10-18 21:49:45 +03:00
"syntaxes": [
{
2016-10-18 21:52:48 +03:00
"syntax": "assignment",
"repoFilePath": "assignment.go",
2016-10-18 21:49:45 +03:00
"insert": "var foo int = 42",
2016-10-18 21:52:48 +03:00
"testCaseFilePath": "test/corpus/diff-summaries/go/assignment.json",
2016-10-18 21:49:45 +03:00
"replacement": "var bar string = \"hello\""
2016-11-01 01:22:10 +03:00
},
{
"syntax": "function call",
"repoFilePath": "function-call.go",
"insert": "a()",
"testCaseFilePath": "test/corpus/diff-summaries/go/function-call.json",
"replacement": "b()"
2016-10-18 21:49:45 +03:00
}
]
}
]