From e88aae7642975e17c158f26643faebd463ae39c5 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 27 Jun 2023 11:36:54 +1000 Subject: [PATCH] Add sqlite storage build conditions to sqlite storage closed test Should fix test build failure to build when CGO is disabled. --- test/{misc_test.go => sqlite_test.go} | 6 ++++++ 1 file changed, 6 insertions(+) rename test/{misc_test.go => sqlite_test.go} (89%) diff --git a/test/misc_test.go b/test/sqlite_test.go similarity index 89% rename from test/misc_test.go rename to test/sqlite_test.go index 4661c1a8..437499d4 100644 --- a/test/misc_test.go +++ b/test/sqlite_test.go @@ -1,3 +1,9 @@ +// This infernal language makes me copy conditional compilation expressions around. This test should +// run if sqlite storage is enabled, period. + +//go:build cgo +// +build cgo + package test import ( -- 2.44.0