You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2021/02/21 17:27:19 UTC

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

Author: kotkov
Date: Sun Feb 21 17:27:18 2021
New Revision: 1886759

URL: http://svn.apache.org/viewvc?rev=1886759&view=rev
Log:
* subversion/tests/libsvn_subr/io-test.c
  (test_install_stream_get_info): Switch the expected and actual values
   when checking file mtime and size.  In the scope of this check, we expect
   the *actual* values from file stat to be equal to the *expected* values
   that we obtained earlier by calling svn_stream__install_get_info().

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=1886759&r1=1886758&r2=1886759&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Sun Feb 21 17:27:18 2021
@@ -1159,8 +1159,8 @@ test_install_stream_get_info(apr_pool_t
   SVN_ERR(svn_io_stat(&finfo, final_abspath,
                       APR_FINFO_MTIME | APR_FINFO_SIZE,
                       pool));
-  SVN_TEST_INT_ASSERT(mtime, finfo.mtime);
-  SVN_TEST_INT_ASSERT(size, finfo.size);
+  SVN_TEST_INT_ASSERT(finfo.mtime, mtime);
+  SVN_TEST_INT_ASSERT(finfo.size, size);
 
   SVN_ERR(svn_stringbuf_from_file2(&actual_content,
                                    final_abspath,