dfmt/tests/gen_expected.sh

12 lines
255 B
Bash
Executable File

dfmt --braces=allman $1.d > allman/$1.d.ref
dfmt --braces=otbs $1.d > otbs/$1.d.ref
echo "------------------"
echo "allman:"
echo "------------------"
cat allman/$1.d.ref
echo "------------------"
echo "otbs:"
echo "------------------"
cat otbs/$1.d.ref