The following commit has been merged in the master branch:
commit 77dee3a3238a1874563c6d89a0fda9094255a50f
Author: Ville Skyttä <[email protected]>
Date:   Sun Jan 3 23:49:19 2010 +0200

    (testsuite) FreeBSD and Solaris sed compatibility fixes.
    
    The linefeed between the final "d" and "}" seems to be significant for
    these versions of sed.  And they are quite anal about comments, so
    move them outside of the sed statement here.

diff --git a/test/unit/_count_args.exp b/test/unit/_count_args.exp
index fa5417e..da61bdb 100644
--- a/test/unit/_count_args.exp
+++ b/test/unit/_count_args.exp
@@ -6,10 +6,11 @@ proc setup {} {
 
 proc teardown {} {
     assert_bash_exec {unset args COMP_CWORD COMP_LINE COMP_POINT COMP_WORDS}
+    # Delete 'COMP_WORDBREAKS' occupying two lines
     assert_env_unmodified {
-        # Delete 'COMP_WORDBREAKS' occupying two lines
         /COMP_WORDBREAKS=/{N
-        d}
+        d
+        }
     }
 }; # teardown()
 
diff --git a/test/unit/_get_cword.exp b/test/unit/_get_cword.exp
index 25e0e8d..1e6e9bf 100644
--- a/test/unit/_get_cword.exp
+++ b/test/unit/_get_cword.exp
@@ -6,10 +6,11 @@ proc setup {} {
 
 proc teardown {} {
     assert_bash_exec {unset COMP_CWORD COMP_LINE COMP_POINT COMP_WORDS}
+    # Delete 'COMP_WORDBREAKS' occupying two lines
     assert_env_unmodified {
-        # Delete 'COMP_WORDBREAKS' occupying two lines
         /COMP_WORDBREAKS=/{N
-        d}
+        d
+        }
     }
 }; # teardown()
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to