Author: dannas
Date: Tue Jul 27 19:36:16 2010
New Revision: 979823
URL: http://svn.apache.org/viewvc?rev=979823&view=rev
Log:
Correct typos in patch test for properties.
* subversion/tests/cmdline/patch_tests.py
(patch_with_properties): Fix typo in a hunk header and use the right
revision for expected status.
Modified:
subversion/trunk/subversion/tests/cmdline/patch_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=979823&r1=979822&r2=979823&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Tue Jul 27
19:36:16 2010
@@ -2200,7 +2200,7 @@ def patch_with_properties(sbox):
"-This is the property 'modified'.\n",
"+The property 'modified' has changed.\n",
"Added: added\n",
- "## -0,0 +1 ""\n",
+ "## -0,0 +1 ##\n",
"+This is the property 'added'.\n",
"Deleted: deleted\n",
"## -1 +0,0 ##\n",
@@ -2220,7 +2220,7 @@ def patch_with_properties(sbox):
expected_disk.tweak('iota', props={'modified' : modified_prop_contents,
'added' : added_prop_contents})
expected_status = svntest.actions.get_virginal_state(wc_dir, 1)
- expected_status.tweak('iota', status=' M')
+ expected_status.tweak('iota', status=' M', wc_rev='2')
expected_skip = wc.State('', { })