-
Sorry, the attached patch is wrong, the right one would be this one:
diff --git a/source/2.0/src/shell/shunit2 b/source/2.0/src/shell/shunit2
index 097621e..8f3be17 100644
--- a/source/2.0/src/shell/shunit2
+++ b/source/2.0/src/shell/shunit2
@@ -403,7 +403,12 @@ failNotEquals()
_su_unexpected=${1:-}
_su_actual=${2:-}
- _shunit_testFailed "${_su_message:+${_su_message}...
2008-08-20 12:34:51 UTC by nobody
-
I observed that the following functions are not working properly in the 2.0 version of shUnit2 (and probably in 2.1 either):
- failNotEquals
- failSame
- failNotSame
AFAIK, failNotEquals should fail when given parameters are not equal so passing '1' and '0' should fail, while '1' and '1' should not. However I always get failure, regardless of the parameters:
ASSERT:fail: not...
2008-08-20 12:29:20 UTC by nobody
-
sfsetse committed revision 167 to the shunit2 SVN repository, changing 2 files.
2008-06-12 17:46:31 UTC by sfsetse
-
sfsetse committed revision 166 to the shunit2 SVN repository, changing 2 files.
2008-05-30 11:42:22 UTC by sfsetse
-
sfsetse committed revision 165 to the shunit2 SVN repository, changing 1 files.
2008-05-13 09:40:15 UTC by sfsetse
-
sfsetse committed revision 164 to the shunit2 SVN repository, changing 1 files.
2008-05-11 20:04:35 UTC by sfsetse
-
sfsetse committed revision 163 to the shunit2 SVN repository, changing 1 files.
2008-05-11 20:04:20 UTC by sfsetse
-
sfsetse committed revision 162 to the shunit2 SVN repository, changing 3 files.
2008-05-10 23:35:47 UTC by sfsetse
-
sfsetse committed revision 161 to the shunit2 SVN repository, changing 2 files.
2008-05-10 23:34:59 UTC by sfsetse
-
sfsetse committed revision 160 to the shunit2 SVN repository, changing 3 files.
2008-05-10 23:30:32 UTC by sfsetse