Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
heroicNeZha committed Nov 26, 2021
1 parent 40823e4 commit 6b50ddf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
1 change: 0 additions & 1 deletion tests/tck/features/admin/Hosts.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Copyright (c) 2021 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License.
@li
Feature: Admin hosts

Scenario: Show hosts
Expand Down
32 changes: 16 additions & 16 deletions tests/tck/features/index/TagEdgeIndex.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ Feature: tag and edge index tests from pytest
CREATE TAG tag_1(col1 string, col2 int, col3 double, col4 timestamp);
CREATE EDGE edge_1(col1 string, col2 int, col3 double, col4 timestamp);
INSERT VERTEX
tag_1(col1, col2, col3, col4)
tag_1(col1, col2, col3, col4)
VALUES
'101':('Tom', 18, 35.4, `timestamp`('2010-09-01T08:00:00')),
'102':('Jerry', 22, 38.4, `timestamp`('2011-09-01T08:00:00')),
'103':('Bob', 19, 36.4, `timestamp`('2010-09-01T12:00:00'));
'101':('Tom', 18, 35.4, `timestamp`('2010-09-01T08:00:00')),
'102':('Jerry', 22, 38.4, `timestamp`('2011-09-01T08:00:00')),
'103':('Bob', 19, 36.4, `timestamp`('2010-09-01T12:00:00'));
INSERT EDGE
edge_1(col1, col2, col3, col4)
edge_1(col1, col2, col3, col4)
VALUES
'101'->'102':('Red', 81, 45.3, `timestamp`('2010-09-01T08:00:00')),
'102'->'103':('Yellow', 22, 423.8, `timestamp`('2011-09-01T08:00:00')),
'103'->'101':('Blue', 91, 43.1, `timestamp`('2010-09-01T12:00:00'));
'101'->'102':('Red', 81, 45.3, `timestamp`('2010-09-01T08:00:00')),
'102'->'103':('Yellow', 22, 423.8, `timestamp`('2011-09-01T08:00:00')),
'103'->'101':('Blue', 91, 43.1, `timestamp`('2010-09-01T12:00:00'));
"""

Scenario: test tag index from pytest
Expand Down Expand Up @@ -170,8 +170,8 @@ Feature: tag and edge index tests from pytest
When executing query:
"""
CREATE TAG INDEX `multi_tag_index` ON `tag_1` (
`col2`,
`col3`
`col2`,
`col3`
)
"""
Then the execution should be successful
Expand All @@ -190,8 +190,8 @@ Feature: tag and edge index tests from pytest
When executing query:
"""
CREATE TAG INDEX `disorder_tag_index` ON `tag_1` (
`col3`,
`col2`
`col3`,
`col2`
)
"""
Then the execution should be successful
Expand Down Expand Up @@ -414,8 +414,8 @@ Feature: tag and edge index tests from pytest
When executing query:
"""
CREATE EDGE INDEX `multi_edge_index` ON `edge_1` (
`col2`,
`col3`
`col2`,
`col3`
)
"""
Then the execution should be successful
Expand All @@ -435,8 +435,8 @@ Feature: tag and edge index tests from pytest
When executing query:
"""
CREATE EDGE INDEX `disorder_edge_index` ON `edge_1` (
`col3`,
`col2`
`col3`,
`col2`
)
"""
Then the execution should be successful
Expand Down

0 comments on commit 6b50ddf

Please sign in to comment.