From 19abdd4b99c96afeb761da44f84d665cce49be8e Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 5 Aug 2026 22:47:46 +0200 Subject: pgtest: scan topology --- pgtest/snapshot.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pgtest/snapshot.go') 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() -- cgit v1.3.1