aboutsummaryrefslogtreecommitdiff
path: root/pgtest/snapshot.go
diff options
context:
space:
mode:
Diffstat (limited to 'pgtest/snapshot.go')
-rw-r--r--pgtest/snapshot.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pgtest/snapshot.go b/pgtest/snapshot.go
index f27ecec..ed0752c 100644
--- a/pgtest/snapshot.go
+++ b/pgtest/snapshot.go
@@ -4,9 +4,11 @@
package pgtest
import (
+ "context"
"fmt"
"go.xyrillian.de/gg/assert"
+ "go.xyrillian.de/gg/gsql"
)
// Snapshot contains a set of SQL statements.
@@ -15,6 +17,10 @@ type Snapshot struct {
t assert.TestingTB
}
+func newSnapshot(ctx context.Context, db gsql.Handle, topo topology) (Snapshot, error) {
+ panic("TODO")
+}
+
// AssertEmpty is a shorthand for AssertEqual("").
func (s Snapshot) AssertEmpty() {
s.t.Helper()