From fe2f407b7fe55458c2d56737cf3c307b3e2e0890 Mon Sep 17 00:00:00 2001 From: MrBounty Date: Wed, 12 Feb 2025 16:42:14 +0100 Subject: [PATCH] Added empty test for later --- src/test.zig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/test.zig b/src/test.zig index ae780fa..bb08d97 100644 --- a/src/test.zig +++ b/src/test.zig @@ -198,8 +198,7 @@ test "GRAB Relationship AdditionalData Filtered" { // FIXME: NOT OK try testParsing(db, "GRAB User [2; name, best_friend] {best_friend !IN {}}"); } -test "GRAB Relationship dot" { // TODO: Make this a reality - // DO I add this ? I'm not sure about this feature +test "GRAB Relationship dot" { // TODO: Make this a reality, but need to think a bit more about it const db = DB{ .path = "test1", .schema = "schema/test" }; // try testParsing(db, "GRAB User.best_friend {}"); // try testParsing(db, "GRAB User.best_friend.best_friend {}"); @@ -208,6 +207,14 @@ test "GRAB Relationship dot" { // TODO: Make this a reality try testParsing(db, "GRAB User [1] {}"); } +test "GRAB Ordering" { // TODO: Make this a reality + const db = DB{ .path = "test1", .schema = "schema/test" }; + // try testParsing(db, "GRAB User {} |age|"); + // try testParsing(db, "GRAB User {} |name|"); + // try testParsing(db, "GRAB User {} |name, age|"); + try testParsing(db, "GRAB User [1] {}"); +} + // 3 Struct Relationship // ===============================================================