From 9f3da7698f2f199cf5ec78a389697ae2b4fede08 Mon Sep 17 00:00:00 2001 From: sourcegraph Date: Thu, 22 Oct 2026 11:39:15 +0000 Subject: [PATCH] Add TestDogfoodEnv test requiring DOGFOOD_35=1 Sourcegraph-Batch-Change: https://sourcegraph.test:3443/batch-change-agents/14 --- env_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 env_test.go diff --git a/env_test.go b/env_test.go new file mode 100644 index 0000000..cb3c2b1 --- /dev/null +++ b/env_test.go @@ -0,0 +1,12 @@ +package main + +import ( + "os" + "testing" +) + +func TestDogfoodEnv(t *testing.T) { + if got := os.Getenv("DOGFOOD_35"); got != "1" { + t.Fatalf("expected DOGFOOD_35=1, got %q", got) + } +}