1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2025-04-19 13:22:14 +03:00
bash-ini-parser/t/t0001-whitespace.sh
albfan d73cdd267d rename test to whitespace
Add more whitespace test
2018-01-27 09:37:23 +01:00

17 lines
372 B
Bash
Executable File

#!/bin/bash
test_description="check parse"
. setup.sh
test_expect_success "Whitespace parse" "
export COVERAGE_NAME=whitespace_parser
cp ../.simplecov .
$COMMAND cfg_parser $DIR_TEST/whitespace.ini
export COVERAGE_NAME=whitespace_writer
$COMMAND cfg_writer > whitespace.out
diff -u whitespace.out $DIR_TEST/whitespace.out.correct
"
test_done