|
#!/bin/sh
|
|
|
|
alias tomcat='cargo r --'
|
|
|
|
tests() {
|
|
if ! [ "$(tomcat "$tabkey" < test.toml)" = "val" ]; then
|
|
printf "Failed test: %s\n" "$test_name"
|
|
else
|
|
printf "Passed test: %s\n" "$test_name"
|
|
fi
|
|
}
|
|
|
|
test_name='String values'; tabkey='main.key'
|
|
tests
|
|
|
|
test_name=
|