Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Dec 2, 2021
1 parent 1d1120f commit 4a24fe9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ func TestServiceDataIO(t *testing.T) {
// test base type
{
query :=
"FETCH PROP ON person \"Bob\" YIELD person.name, person.age, person.grade," +
"FETCH PROP ON person \"Bob\" YIELD vertex as VertexID," +
"person.name, person.age, person.grade," +
"person.friends, person.book_num, person.birthday, " +
"person.start_school, person.morning, " +
"person.property, person.is_girl, person.child_name, " +
Expand All @@ -276,7 +277,8 @@ func TestServiceDataIO(t *testing.T) {
assert.Equal(t, "test_data", resp.GetSpaceName())
assert.False(t, resp.IsEmpty())
assert.Equal(t, 1, resp.GetRowSize())
names := []string{"person.name",
names := []string{"VertexID",
"person.name",
"person.age",
"person.grade",
"person.friends",
Expand All @@ -298,7 +300,7 @@ func TestServiceDataIO(t *testing.T) {
t.Fatalf(err.Error())
return
}
valWrap, err := record.GetValueByIndex(5)
valWrap, err := record.GetValueByIndex(6)
if err != nil {
t.Fatalf(err.Error())
return
Expand Down

0 comments on commit 4a24fe9

Please sign in to comment.