Added more unit tests.
This commit is contained in:
parent
8026138b9c
commit
6eab3a531a
9 changed files with 60 additions and 7 deletions
13
unit-tests/string-with-spaces.sh
Normal file
13
unit-tests/string-with-spaces.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
expected="\"Strings should be able to include spaces (and other stuff)!\""
|
||||
actual=`echo ${expected} | target/psse 2> /dev/null`
|
||||
|
||||
if [ "${expected}" = "{$actual}" ]
|
||||
then
|
||||
echo "OK"
|
||||
exit 0
|
||||
else
|
||||
echo "Fail: expected '$expected', got '$actual'"
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue