Changeset b017b03 for t


Ignore:
Timestamp:
Aug 29, 2009, 10:16:32 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
bcde942d
Parents:
27964fe
git-author:
Nelson Elhage <nelhage@mit.edu> (08/29/09 22:09:48)
git-committer:
Nelson Elhage <nelhage@mit.edu> (08/29/09 22:16:32)
Message:
Add failing tests for computing $argct with --.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • t/completion.t

    r14acbbd rb017b03  
    187187              [qw(-a -b -c -d 0)], \&complete_word);
    188188
     189# Test that words after -- are counted properly.
     190test_complete('cmd -- hi there ','',
     191              [qw(2)], \&complete_word);
     192
     193test_complete('cmd --','',
     194              [qw(-a -b -c -d 0)], \&complete_word);
     195
     196test_complete('cmd -- ','',
     197              [qw(0)], \&complete_word);
     198
     199test_complete('cmd foo -- ','',
     200              [qw(1)], \&complete_word);
     201
     202test_complete('cmd foo -- bar ','',
     203              [qw(2)], \&complete_word);
     204
    1892051;
    190206
Note: See TracChangeset for help on using the changeset viewer.