[SCM] Git repository for devscripts branch, master, updated. v2.12.4-148-g915fc61

James McCoy jamessan at debian.org
Sun Feb 17 05:11:58 UTC 2013


The following commit has been merged in the master branch:
commit 915fc6138a99276327c14a917c864cdf86ad6fc0
Author: James McCoy <jamessan at debian.org>
Date:   Sun Feb 17 00:11:46 2013 -0500

    Add a test for leading whitespace in annotate-output
    
    Signed-off-by: James McCoy <jamessan at debian.org>

diff --git a/test/test_annotate-output b/test/test_annotate-output
index 56f6a3d..d139491 100755
--- a/test/test_annotate-output
+++ b/test/test_annotate-output
@@ -36,4 +36,10 @@ testBackslashes() {
   assertEquals 'backslashes echoed' "${expected}" "${actual}"
 }
 
+testLeadingWhitespace() {
+  expected='% O:     foo'
+  actual="$($COMMAND +%% printf '%s\n' '    foo' | grep O:)"
+  assertEquals 'leading whitespace preserved' "${expected}" "${actual}"
+}
+
 . shunit2

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list