-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
277 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
testlib/src/main/resources/shell/shfmt/with-config/.editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
|
||
[*.sh] | ||
indent_style = space | ||
indent_size = 2 | ||
space_redirects = true | ||
switch_case_indent = true |
20 changes: 20 additions & 0 deletions
20
testlib/src/main/resources/shell/shfmt/with-config/other.clean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
fruit="apple" | ||
|
||
case $fruit in | ||
"apple") | ||
echo "This is a red fruit." | ||
;; | ||
"banana") | ||
echo "This is a yellow fruit." | ||
;; | ||
"orange") | ||
echo "This is an orange fruit." | ||
;; | ||
*) | ||
echo "Unknown fruit." | ||
;; | ||
esac | ||
|
||
echo "This is some text." > output.txt |
20 changes: 20 additions & 0 deletions
20
testlib/src/main/resources/shell/shfmt/with-config/other.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
fruit="apple" | ||
|
||
case $fruit in | ||
"apple") | ||
echo "This is a red fruit." | ||
;; | ||
"banana") | ||
echo "This is a yellow fruit." | ||
;; | ||
"orange") | ||
echo "This is an orange fruit." | ||
;; | ||
*) | ||
echo "Unknown fruit." | ||
;; | ||
esac | ||
|
||
echo "This is some text." > output.txt |
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
testlib/src/main/resources/shell/shfmt/without-config/other.clean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
fruit="apple" | ||
|
||
case $fruit in | ||
"apple") | ||
echo "This is a red fruit." | ||
;; | ||
"banana") | ||
echo "This is a yellow fruit." | ||
;; | ||
"orange") | ||
echo "This is an orange fruit." | ||
;; | ||
*) | ||
echo "Unknown fruit." | ||
;; | ||
esac | ||
|
||
echo "This is some text." >output.txt |
Oops, something went wrong.