##// END OF EJS Templates
test-status: Make assert function definition sh compatible.
Thomas Arendsen Hein -
r6202:0ab0da22 default
parent child Browse files
Show More
@@ -62,7 +62,7 b' hg copy modified copied'
62 # Run status with 2 different flags.
62 # Run status with 2 different flags.
63 # Check if result is the same or different.
63 # Check if result is the same or different.
64 # If result is not as expected, raise error
64 # If result is not as expected, raise error
65 function assert {
65 assert() {
66 hg status $1 > ../a
66 hg status $1 > ../a
67 hg status $2 > ../b
67 hg status $2 > ../b
68 out=`diff ../a ../b`
68 out=`diff ../a ../b`
General Comments 0
You need to be logged in to leave comments. Login now