File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
servant-docs/test/Servant Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ doc/_build
30
30
doc /venv
31
31
doc /tutorial /static /api.js
32
32
doc /tutorial /static /jq.js
33
+ shell.nix
33
34
34
35
# nix
35
36
result *
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