summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-11-08 14:09:49 +0100
committerTom Smeding <tom@tomsmeding.com>2026-11-08 14:10:31 +0100
commit034866a9aaeb07a1e072db83279acf1ad0ffcf46 (patch)
tree3a96b4c91cb1117a53e6e3268c337de6d100d885
parent55ffee49a7ee28a00e8b0a5aef0b0258651c255f (diff)
Move server-test to test/server
-rw-r--r--.gitignore1
-rw-r--r--test/server/Main.hs (renamed from server-test/Main.hs)1
-rw-r--r--tirclogv.cabal2
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 2d48d90..fc32a27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+cabal.project.local
dist-newstyle/
.ccls-cache/
tirclogv.prof
diff --git a/server-test/Main.hs b/test/server/Main.hs
index 43cba76..cd69f9c 100644
--- a/server-test/Main.hs
+++ b/test/server/Main.hs
@@ -68,6 +68,7 @@ prop_valid = property $ do
, reqHeaders = [("host", "tirclogv.example"), ("accept", "*/*")]
, reqPath = ["path", "x"]
, reqQuery = [("q", "1"), ("a", "2")]
+ , reqCookies = []
}
tests :: IO Bool
diff --git a/tirclogv.cabal b/tirclogv.cabal
index 8484e40..b0c3fe1 100644
--- a/tirclogv.cabal
+++ b/tirclogv.cabal
@@ -110,7 +110,7 @@ test-suite server-test
bytestring,
hedgehog,
transformers
- hs-source-dirs: server-test
+ hs-source-dirs: test/server
executable echo-server
import: common