aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/unit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/postgres/unit_test.go')
-rw-r--r--internal/postgres/unit_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/postgres/unit_test.go b/internal/postgres/unit_test.go
index 64e0b57f..c60941b7 100644
--- a/internal/postgres/unit_test.go
+++ b/internal/postgres/unit_test.go
@@ -743,7 +743,12 @@ func TestGetUnit(t *testing.T) {
test.want.IsRedistributable,
)
test.want.CommitTime = um.CommitTime
- checkUnit(ctx, t, testDB, um, test.want)
+ t.Run("none", func(t *testing.T) {
+ checkUnit(ctx, t, testDB, um, test.want)
+ })
+ t.Run(internal.ExperimentReadImports, func(t *testing.T) {
+ checkUnit(ctx, t, testDB, um, test.want, internal.ExperimentReadImports)
+ })
})
}
}