subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r928298 - /subversion/trunk/subversion/tests/libsvn_wc/db-test.c
Date Sat, 27 Mar 2010 23:00:46 GMT
Author: gstein
Date: Sat Mar 27 23:00:46 2010
New Revision: 928298

URL: http://svn.apache.org/viewvc?rev=928298&view=rev
Log:
* subversion/tests/libsvn_wc/db-test.c:
  (test_work_queue): simplify some skel construction

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/db-test.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/db-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/db-test.c?rev=928298&r1=928297&r2=928298&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/db-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/db-test.c Sat Mar 27 23:00:46 2010
@@ -1349,15 +1349,15 @@ test_work_queue(apr_pool_t *pool)
 
   /* Create three work items.  */
   work_item = svn_skel__make_empty_list(pool);
-  svn_skel__append(work_item, svn_skel__str_atom("0", pool));
+  svn_skel__prepend_int(0, work_item, pool);
   SVN_ERR(svn_wc__db_wq_add(db, local_abspath, work_item, pool));
 
   work_item = svn_skel__make_empty_list(pool);
-  svn_skel__append(work_item, svn_skel__str_atom("1", pool));
+  svn_skel__prepend_int(1, work_item, pool);
   SVN_ERR(svn_wc__db_wq_add(db, local_abspath, work_item, pool));
 
   work_item = svn_skel__make_empty_list(pool);
-  svn_skel__append(work_item, svn_skel__str_atom("2", pool));
+  svn_skel__prepend_int(2, work_item, pool);
   SVN_ERR(svn_wc__db_wq_add(db, local_abspath, work_item, pool));
 
   while (TRUE)



Mime
View raw message