File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
doc/cookbook/db-sqlite-simple
servant-docs/test/Servant Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ packages:
26
26
doc/cookbook/custom-errors
27
27
doc/cookbook/basic-streaming
28
28
doc/cookbook/db-postgres-pool
29
- -- doc/cookbook/db-sqlite-simple
29
+ doc/cookbook/db-sqlite-simple
30
30
doc/cookbook/file-upload
31
31
doc/cookbook/generic
32
32
-- doc/cookbook/hoist-server-with-context
@@ -54,9 +54,6 @@ constraints:
54
54
constraints : base-compat ^>= 0.11
55
55
constraints : semigroups ^>= 0.19
56
56
57
- -- MonadFail
58
- -- https://github.com/nurpax/sqlite-simple/issues/74
59
- constraints : sqlite-simple < 0
60
57
-- allow-newer: sqlite-simple-0.4.16.0:semigroups
61
58
-- allow-newer: direct-sqlite-2.3.24:semigroups
62
59
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ executable cookbook-db-sqlite-simple
23
23
, http-types >= 0.12
24
24
, markdown-unlit >= 0.4
25
25
, http-client >= 0.5
26
- , sqlite-simple >= 0.4
26
+ , sqlite-simple >= 0.4.5.0
27
27
, transformers
28
28
default-language : Haskell2010
29
29
ghc-options : -Wall -pgmL markdown-unlit
Original file line number Diff line number Diff line change @@ -126,8 +126,11 @@ spec = describe "Servant.Docs" $ do
126
126
it " mentions headers" $ do
127
127
md `shouldContain` " - This endpoint is sensitive to the value of the **X-Test** HTTP header."
128
128
129
- it " contains response samples" $
130
- md `shouldContain` " {\" dt1field1\" :\" field 1\" ,\" dt1field2\" :13}"
129
+ it " contains response samples - dt1field1" $
130
+ md `shouldContain` " \" dt1field1\" :\" field 1\" "
131
+ it " contains response samples - dt1field2" $
132
+ md `shouldContain` " \" dt1field2\" :13"
133
+
131
134
it " contains request body samples" $
132
135
md `shouldContain` " 17"
133
136
You can’t perform that action at this time.
0 commit comments