commit 23db5d74860604bb92392184393924a8cd7c1b8c
parent 65fcf15e81b9033d78591cc6f15b641a9c50046c
Author: lash <dev@holbrook.no>
Date: Sun, 1 Sep 2024 19:05:24 +0100
Complete multi-session test to db
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/db/db_test.go b/db/db_test.go
@@ -242,6 +242,12 @@ func generateMultiSessionTestVectors() testVector {
tv.add(DATATYPE_TEMPLATE, "foo", "red", "", "blue", "")
tv.add(DATATYPE_TEMPLATE, "foo", "green", "bar", "blue", "")
tv.add(DATATYPE_TEMPLATE, "foo", "blue", "baz", "blue", "")
+ tv.add(DATATYPE_STATE, "foo", "inky", "", "inky", "")
+ tv.add(DATATYPE_STATE, "foo", "pinky", "clyde", "pinky", "")
+ tv.add(DATATYPE_STATE, "foo", "blinky", "sue", "blinky", "")
+ tv.add(DATATYPE_BIN, "foo", "deadbeef", "", "feebdeef", "")
+ tv.add(DATATYPE_BIN, "foo", "feedbeef", "bar", "feebdeef", "")
+ tv.add(DATATYPE_BIN, "foo", "feebdeef", "baz", "feebdeef", "")
return tv
}