From 8f4f602ed87d328e2c90ee3c0a880834234a76f0 Mon Sep 17 00:00:00 2001 From: pokeeffe-molecula Date: Fri, 7 Apr 2023 10:49:26 -0500 Subject: [PATCH] made cli integration test whole again --- cli/testdata/table | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/cli/testdata/table b/cli/testdata/table index c2f2e2752..ec7a1cb01 100644 --- a/cli/testdata/table +++ b/cli/testdata/table @@ -1,5 +1,5 @@ -// Show tables for database using SHOW TABLES. -SEND:SHOW TABLES; +// Show tables for database using SHOW TABLES WITH SYSTEM. +SEND:SHOW TABLES WITH SYSTEM; EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ @@ -11,17 +11,21 @@ EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ EXPECT: +// Show tables for database using SHOW TABLES. +SEND:SHOW TABLES; +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ +EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ +EXPECT: + + // Show tables for database using \dt. SEND:\dt -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ -EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ +EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ +EXPECT:+-----+------+-------+------------+------------+------------+------+------------+-------------+ EXPECT: // Create a table. That can be used for general testing. @@ -33,16 +37,11 @@ EXPECT: // Show tables for database to get the newly created table. SEND:\dt -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ -EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ -EXPECTCOMP:WithFormat:| users | users | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECTCOMP:WithFormat:| fb_____________________ | fb_____________________ | | | {timestamp} | {timestamp} | false | 0 | | -EXPECT:+-------------------------+-------------------------+-------+------------+----------------------+----------------------+-------+------------+-------------+ +EXPECT:+-------+-------+-------+------------+----------------------+----------------------+-------+------------+-------------+ +EXPECT:| _id | name | owner | updated_by | created_at | updated_at | keys | space_used | description | +EXPECT:+-------+-------+-------+------------+----------------------+----------------------+-------+------------+-------------+ +EXPECTCOMP:WithFormat:| users | users | | | 1970-01-01T00:00:00Z | 1970-01-01T00:00:00Z | false | 0 | | +EXPECT:+-------+-------+-------+------------+----------------------+----------------------+-------+------------+-------------+ EXPECT: // We don't select from users until AFTER we check SHOW TABLES above because