2d23a3f47c
There's no alternation (\|) in POSIX basic regexps which is what POSIX sed supports.
26 lines
295 B
Plaintext
26 lines
295 B
Plaintext
proc setup {} {
|
|
save_env
|
|
}
|
|
|
|
|
|
proc teardown {} {
|
|
assert_env_unmodified {
|
|
/OLDPWD=/d
|
|
/BASH_REMATCH=/d
|
|
}
|
|
}
|
|
|
|
|
|
setup
|
|
|
|
|
|
assert_complete_any "ant -"
|
|
sync_after_int
|
|
|
|
|
|
assert_complete_dir "bashcomp clean init realclean" "ant " $::srcdir/fixtures/ant
|
|
sync_after_int
|
|
|
|
|
|
teardown
|