From e0ad5dacefc7a647ad46bcde7c25b7c0f8f35f31 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 6 Mar 2024 16:28:40 +0500 Subject: [vim] Plug upgrade --- files/.vim/templates/=template=docker-compose.yml | 1 - files/.vim/templates/=template=hurl | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 files/.vim/templates/=template=hurl (limited to 'files/.vim/templates') diff --git a/files/.vim/templates/=template=docker-compose.yml b/files/.vim/templates/=template=docker-compose.yml index ccbb61f..6472d24 100644 --- a/files/.vim/templates/=template=docker-compose.yml +++ b/files/.vim/templates/=template=docker-compose.yml @@ -1,5 +1,4 @@ --- -version: "3.8" services: name: diff --git a/files/.vim/templates/=template=hurl b/files/.vim/templates/=template=hurl new file mode 100755 index 0000000..71554ea --- /dev/null +++ b/files/.vim/templates/=template=hurl @@ -0,0 +1,11 @@ +#!/usr/bin/env -S hurl --test + +# GET http://localhost/api/method +# [QueryStringParams] +# filter: {{capture_value}} +# HTTP 200 +# [Asserts] +# jsonpath "$.content" count == 1 +# jsonpath "$.content[0].id" > 0 +# [Captures] +# id: jsonpath "$.content[0].id" -- cgit v1.2.3