shfmt -s input.sh
cmp stdout input.sh.simplify-golden

shfmt --simplify input.sh
cmp stdout input.sh.simplify-golden

shfmt -mn input.sh
cmp stdout input.sh.minify-golden

shfmt --minify input.sh
cmp stdout input.sh.minify-golden

-- input.sh --
foo() {
	(( $bar ))
}
-- input.sh.simplify-golden --
foo() {
	((bar))
}
-- input.sh.minify-golden --
foo(){
((bar))
}
