Skip to content

Commit

Permalink
tests: add SHOW GRAPHS/LABELS logic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepymole committed Apr 2, 2023
1 parent 336109b commit 8bb5207
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions tests/testdata/logic_test/show
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
statement ok
CREATE GRAPH test

query T
SHOW GRAPHS
----
test

statement ok
CREATE GRAPH student_network

query T rowsort
SHOW GRAPHS
----
student_network
test

statement ok
USE student_network

statement ok
CREATE LABEL Person

statement ok
CREATE LABEL University

statement ok
CREATE LABEL knows

statement ok
CREATE LABEL studentOf

query T rowsort
SHOW LABELS IN student_network
----
Person
University
knows
studentOf

0 comments on commit 8bb5207

Please sign in to comment.