You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2012/11/06 20:36:47 UTC
svn commit: r1406281 -
/subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c
Author: brane
Date: Tue Nov 6 19:36:47 2012
New Revision: 1406281
URL: http://svn.apache.org/viewvc?rev=1406281&view=rev
Log:
On the wc-collate-path branch:
* subversion/tests/libsvn_subr/utf-test.c
(normalized_compare): Fix thinko in result verification that crept in
during local refactoring.
Modified:
subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c
Modified: subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c
URL: http://svn.apache.org/viewvc/subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c?rev=1406281&r1=1406280&r2=1406281&view=diff
==============================================================================
--- subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c (original)
+++ subversion/branches/wc-collate-path/subversion/tests/libsvn_subr/utf-test.c Tue Nov 6 19:36:47 2012
@@ -324,8 +324,8 @@ normalized_compare(const char *stra, int
*/
if (('=' == expected && 0 != result)
- || ('>' < expected && 0 >= result)
- || ('<' > expected && 0 <= result))
+ || ('<' == expected && 0 >= result)
+ || ('>' == expected && 0 <= result))
{
return svn_error_createf
(SVN_ERR_TEST_FAILED, NULL,