diff --git a/test/bug.1006.t b/test/bug.1006.t index bd9981cb4..5451b2b9b 100755 --- a/test/bug.1006.t +++ b/test/bug.1006.t @@ -43,13 +43,15 @@ if (open my $fh, '>', 'bug.rc') # This is because DOM elements are checked before standard words when strings # are tokenized. +# Check that the completion is inactive in task descriptions qx{../src/task rc:bug.rc add des 2>&1}; qx{../src/task rc:bug.rc 1 annotate des 2>&1}; my $output = qx{../src/task rc:bug.rc 1 info 2>&1}; unlike ($output, qr/description/ms, 'Attribute not completed in description'); -$output = qx{../src/task test rc:bug.rc rc.report.test.columns:description rc.report.test.labels:__ 2>&1}; -like ($output, qr/__/ms, 'Custom column present in the output'); +# Check that the completion works when needed +$output = qx{../src/task rc:bug.rc des:des 2>&1}; +unlike ($output, qr/No matches./ms, 'Task found using its description'); $output = qx{../src/task rc:bug.rc add entrée interdite 2>&1}; $output = qx{../src/task rc:bug.rc list interdite 2>&1};