Skip to content

Commit ca06d82

Browse files
docs: Auto-generate vimdocs + vimtags (#820)
Co-authored-by: YaroSpace <[email protected]>
1 parent 9b42297 commit ca06d82

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

doc/kulala.NEWS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ENHANCEMENT: HTTP-CLIENT.ENV.JSON AND HTTP-CLIENT.PRIVATE.ENV.JSON FILES WILL BE
6565
ENHANCEMENT: SHARE HEADERS AND POST REQUEST SCRIPTS IN SHARED BLOCKS SHARED BLOCKS |kulala.shared-blocks.txt|
6666

6767

68-
ENHANCEMENT: SUPPORT USING KULALA_HTTP PARSER WITHOUT NVIM-TREESITTER, I.E. INSTALLED BY NIX.
68+
ENHANCEMENT: SUPPORT USING KULALA_HTTP PARSER WITHOUT NVIM-TREESITTER, I.E. INSTALLED BY NIX
6969

7070

7171
ENHANCEMENT: SUPPORT DOT NOTATION IN ACCESSING DEEP OBJECTS FROM JS SCRIPTS JS |kulala.request-reference.txt|

doc/kulala.demos.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ The archive |kulala.demos.zip| also contains sample `httt-client-env.json` and
333333
client.test("Test suite 2", function() {
334334
assert.hasString(json.occupation, "Develop", "Check if occupation contains 'Develop'")
335335
assert.responseHas('responseCode', 200, "Check if response code is 200")
336+
assert.responseHas('status', 200, "Check if response status is 200")
336337
assert.headersHas('Content-Type', "application/json", "Check content type")
337338
});
338339

doc/kulala.request-reference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Set a request variable.
4444
Request variables are only available for the duration of the request.
4545

4646
>javascript
47-
request.variables.set("SOME_TOKEN, "123");
47+
request.variables.set("SOME_TOKEN", "123");
4848
request.variables.set("SOME.DEEP.VAR, "123");
4949
<
5050

doc/kulala.response-reference.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Table of Contents *kulala.response-reference-table-of-contents*
55

66
1. Scripts response reference|kulala.response-reference-scripts-response-reference|
7+
- response.status (alias for resposeCode)|kulala.response-reference-scripts-response-reference-response.status-(alias-for-resposecode)|
78
- response.responseCode|kulala.response-reference-scripts-response-reference-response.responsecode|
89
- response.body|kulala.response-reference-scripts-response-reference-response.body|
910
- response.headers|kulala.response-reference-scripts-response-reference-response.headers|
@@ -14,9 +15,14 @@ Table of Contents *kulala.response-reference-table-of-contents*
1415
These helper functions are available in the response object in scripts.
1516

1617

18+
RESPONSE.STATUS (ALIAS FOR RESPOSECODE)*kulala.response-reference-scripts-response-reference-response.status-(alias-for-resposecode)*
19+
20+
The HTTP response code.
21+
22+
1723
RESPONSE.RESPONSECODE*kulala.response-reference-scripts-response-reference-response.responsecode*
1824

19-
THe HTTP response code.
25+
The HTTP response code.
2026

2127

2228
RESPONSE.BODY*kulala.response-reference-scripts-response-reference-response.body*

doc/kulala.testing-and-reporting.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ suite and individual test cases within it.
8888
client.test("Test suite name 2", function() {
8989
assert.hasString(json.occupation, "Develop", "Check if occupation contains Develop")
9090
assert.responseHas('responseCode', 200, "Check if response code is 200")
91+
assert.responseHas('status', 200, "Check if response status is 200")
9192
assert.headersHas('Content-Type', "application/json", "Check content type")
9293
});
9394
assert.jsonHas("json.data.occupation", "Developer", "Check json payload")

0 commit comments

Comments
 (0)