git » chasquid » commit aa9455c

test: Ignore fexp in the regular Go build

author Alberto Bertogli
2020-11-22 11:54:55 UTC
committer Alberto Bertogli
2020-11-22 11:57:14 UTC
parent 78df715a028a0060e9e704da3ab10dfd0b057af5

test: Ignore fexp in the regular Go build

fexp is a testing utility, including it in the regular Go build confuses
some automation as it can think it's part of chasquid proper.

All other testing utilities are ignored via the "+build ignore"
annotation for this reason, so this patch adds it to fexp to fix this
issue.

test/util/fexp.go +2 -0

diff --git a/test/util/fexp.go b/test/util/fexp.go
index eb1f820..2f43d4a 100644
--- a/test/util/fexp.go
+++ b/test/util/fexp.go
@@ -1,3 +1,5 @@
+// +build ignore
+
 // Fetch an URL, and check if the response matches what we expect.
 //
 // Useful for testing HTTP(s) servers.