diff options
| author | Derek Passen <dpassen1@gmail.com> | 2025-06-11 18:51:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 15:51:21 -0700 |
| commit | f3308f53d3fd15b808abc583fa4c50a197f0d1e9 (patch) | |
| tree | 6525706cd6f6a179948f6562ac126ef2c445c923 /test | |
| parent | 7eaaf3f45703d49e494f6dd0555633cf6b355817 (diff) | |
Add support for `hurlfmt` to format `hurl` files (#365)
Diffstat (limited to 'test')
| -rw-r--r-- | test/formatters/installers/hurlfmt.bash | 2 | ||||
| -rw-r--r-- | test/formatters/samplecode/hurlfmt/in.hurl | 8 | ||||
| -rw-r--r-- | test/formatters/samplecode/hurlfmt/out.hurl | 8 |
3 files changed, 18 insertions, 0 deletions
diff --git a/test/formatters/installers/hurlfmt.bash b/test/formatters/installers/hurlfmt.bash new file mode 100644 index 0000000..002da58 --- /dev/null +++ b/test/formatters/installers/hurlfmt.bash @@ -0,0 +1,2 @@ +sudo apt-add-repository -y ppa:lepapareil/hurl +sudo apt-get install hurl 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 |
