@@ -30,17 +30,17 @@ func TestFileInfoToCypher(t *testing.T) {
30
30
{
31
31
fileInfo { Id : "fileId" , Name : "someDir" , IsDir : true , },
32
32
"testLabel" ,
33
- "CREATE (fileId:testLabel { name: 'someDir', url: '' }); " ,
33
+ "CREATE (fileId:testLabel { name: 'someDir', url: '' })" ,
34
34
},
35
35
{
36
36
fileInfo { Name : "someDir" , IsDir : true , Url : "https://github.com/someName/someRepo/tree/master/someDir" },
37
37
"testLabel" ,
38
- "CREATE (:testLabel { name: 'someDir', url: 'https://github.com/someName/someRepo/tree/master/someDir' }); " ,
38
+ "CREATE (:testLabel { name: 'someDir', url: 'https://github.com/someName/someRepo/tree/master/someDir' })" ,
39
39
},
40
40
{
41
41
fileInfo { Id : "fileId" , Name : "someFile" , IsDir : false , Size : 42 , CommitCount : 23 , ModTime : 111222333 , Extension : "go" },
42
42
"testLabel" ,
43
- "CREATE (fileId:testLabel { name: 'someFile', url: '', size: 42, commitCount: 23, lastModifiedDateTime: datetime({ epochseconds: 111222333 }), lastModifiedTimestamp: 111222333, extension: 'go' }); " ,
43
+ "CREATE (fileId:testLabel { name: 'someFile', url: '', size: 42, commitCount: 23, lastModifiedDateTime: datetime({ epochseconds: 111222333 }), lastModifiedTimestamp: 111222333, extension: 'go' })" ,
44
44
},
45
45
}
46
46
for _ , table := range testTables {
@@ -62,7 +62,7 @@ func TestContributerToCypher(t *testing.T) {
62
62
"someId" ,
63
63
"William T. Riker" ,
64
64
65
- "CREATE (someId:person { name: 'William T. Riker', email: '[email protected] ' }); " ,
65
+ "CREATE (someId:person { name: 'William T. Riker', email: '[email protected] ' })" ,
66
66
},
67
67
}
68
68
for _ , table := range testTables {
@@ -82,7 +82,7 @@ func TestContributionToCypher(t *testing.T) {
82
82
{
83
83
"someFile_java" ,
84
84
"William_T__Riker" ,
85
- "CREATE (someFile_java)<-[:EDITED]-(William_T__Riker); " ,
85
+ "CREATE (someFile_java)<-[:EDITED]-(William_T__Riker)" ,
86
86
},
87
87
}
88
88
for _ , table := range testTables {
@@ -100,7 +100,7 @@ func TestFolderStructureToCypher(t *testing.T) {
100
100
}{
101
101
{
102
102
fileInfo { Id : "someFileId" , ParentId : "someParentId" },
103
- "CREATE (someFileId)-[:IN_FOLDER]->(someParentId); " ,
103
+ "CREATE (someFileId)-[:IN_FOLDER]->(someParentId)" ,
104
104
},
105
105
}
106
106
for _ , table := range testTables {
0 commit comments