Rewrite
This commit is contained in:
17
test/shunit2-2.1.6/examples/party_test.sh
Executable file
17
test/shunit2-2.1.6/examples/party_test.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
# file: examples/party_test.sh
|
||||
|
||||
testEquality()
|
||||
{
|
||||
assertEquals 1 1
|
||||
}
|
||||
|
||||
testPartyLikeItIs1999()
|
||||
{
|
||||
year=`date '+%Y'`
|
||||
assertEquals "It's not 1999 :-(" \
|
||||
'1999' "${year}"
|
||||
}
|
||||
|
||||
# load shunit2
|
||||
. ../src/shunit2
|
||||
Reference in New Issue
Block a user