[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] fix test case output (display_trees)

From: Benjamin Pflugmann <benjamin-svn-dev_at_pflugmann.de>
Date: 2002-11-18 01:01:31 CET

Hi.

This one was a mean one. It made me search for a mistake in a new test
case for quite some time, before I suspected the existing stuff to be
broken - especially since I am new to the tests and to Python.

Bye,

        Benjamin.

Patch from Benjamin Pflugmann <benjamin-svn-log@pflugmann.de>

* subversion/tests/clients/cmdline/svntest/actions.py (display_trees):
  Really print actual tree instead of expected tree as ACTUAL OUTPUT TREE.

Index: subversion/tests/clients/cmdline/svntest/actions.py
===================================================================
--- subversion/tests/clients/cmdline/svntest/actions.py (revision 3813)
+++ subversion/tests/clients/cmdline/svntest/actions.py (working copy)
@@ -537,7 +537,7 @@
     tree.dump_tree(expected)
   if actual is not None:
     print 'ACTUAL', label + ':'
- tree.dump_tree(expected)
+ tree.dump_tree(actual)
 
 
 def display_lines(message, label, expected, actual):

  • application/pgp-signature attachment: stored
Received on Mon Nov 18 01:02:15 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.