aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode
diff options
context:
space:
mode:
authorDerek Passen <dpassen1@gmail.com>2025-06-11 18:51:21 -0400
committerGitHub <noreply@github.com>2025-06-11 15:51:21 -0700
commitf3308f53d3fd15b808abc583fa4c50a197f0d1e9 (patch)
tree6525706cd6f6a179948f6562ac126ef2c445c923 /test/formatters/samplecode
parent7eaaf3f45703d49e494f6dd0555633cf6b355817 (diff)
Add support for `hurlfmt` to format `hurl` files (#365)
Diffstat (limited to 'test/formatters/samplecode')
-rw-r--r--test/formatters/samplecode/hurlfmt/in.hurl8
-rw-r--r--test/formatters/samplecode/hurlfmt/out.hurl8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/formatters/samplecode/hurlfmt/in.hurl b/test/formatters/samplecode/hurlfmt/in.hurl
new file mode 100644
index 0000000..bbd70c6
--- /dev/null
+++ b/test/formatters/samplecode/hurlfmt/in.hurl
@@ -0,0 +1,8 @@
+ GET https://example.org/news
+
+[Query]
+ order: newest
+ search: something to search
+ count: 100
+
+ HTTP 200
diff --git a/test/formatters/samplecode/hurlfmt/out.hurl b/test/formatters/samplecode/hurlfmt/out.hurl
new file mode 100644
index 0000000..4bc7be7
--- /dev/null
+++ b/test/formatters/samplecode/hurlfmt/out.hurl
@@ -0,0 +1,8 @@
+GET https://example.org/news
+
+[Query]
+order: newest
+search: something to search
+count: 100
+
+HTTP 200