aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/shfmt
diff options
context:
space:
mode:
authorEllis KenyƑ <elken@users.noreply.github.com>2022-05-12 20:52:57 +0100
committerGitHub <noreply@github.com>2022-05-12 12:52:57 -0700
commitb5dbab53eadf64529a0bfe217c7750f1d7d85fce (patch)
tree934f0d154fe24df648043a7768a5739075830063 /test/formatters/samplecode/shfmt
parent982df5a2e0c1695e87069b1e4a54ed90d7b2026c (diff)
Add shfmt (#90)
* feat: add shfmt Add support for shfmt * Handle multiple architectures Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
Diffstat (limited to 'test/formatters/samplecode/shfmt')
-rw-r--r--test/formatters/samplecode/shfmt/in.bash2
-rw-r--r--test/formatters/samplecode/shfmt/out.bash3
2 files changed, 5 insertions, 0 deletions
diff --git a/test/formatters/samplecode/shfmt/in.bash b/test/formatters/samplecode/shfmt/in.bash
new file mode 100644
index 0000000..f2f768b
--- /dev/null
+++ b/test/formatters/samplecode/shfmt/in.bash
@@ -0,0 +1,2 @@
+function f(){
+ thing;}
diff --git a/test/formatters/samplecode/shfmt/out.bash b/test/formatters/samplecode/shfmt/out.bash
new file mode 100644
index 0000000..a5903da
--- /dev/null
+++ b/test/formatters/samplecode/shfmt/out.bash
@@ -0,0 +1,3 @@
+function f() {
+ thing
+}