You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2015/01/21 23:01:54 UTC

svn commit: r1653671 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Author: philip
Date: Wed Jan 21 22:01:54 2015
New Revision: 1653671

URL: http://svn.apache.org/r1653671
Log:
* subversion/tests/libsvn_subr/io-test.c
  (ignore_enoent): Make error checking slightly finer grained.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/io-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/io-test.c?rev=1653671&r1=1653670&r2=1653671&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Wed Jan 21 22:01:54 2015
@@ -725,8 +725,8 @@ ignore_enoent(apr_pool_t *pool)
 
 #define ASSERT_ENOTDIR(exp) {                                           \
     svn_error_t *svn__err = (exp);                                      \
-    SVN_TEST_ASSERT(svn__err                                            \
-                    && SVN__APR_STATUS_IS_ENOTDIR(svn__err->apr_err));  \
+    SVN_TEST_ASSERT(svn__err);                                          \
+    SVN_TEST_ASSERT(SVN__APR_STATUS_IS_ENOTDIR(svn__err->apr_err));     \
     svn_error_clear(svn__err);                                          \
 }