diff --git a/test/feat663-search.sh b/test/feat663-search.sh index 435c8d8..21cea3e 100755 --- a/test/feat663-search.sh +++ b/test/feat663-search.sh @@ -7,9 +7,9 @@ if ${DUB} search nonexistent123456789package 2>/dev/null; then die $LINENO '`dub search nonexistent123456789package` succeeded' fi -if ! OUTPUT=$(${DUB} search dub -v 2>&1); then - die $LINENO '`dub search dub` failed' "$OUTPUT" +if ! OUTPUT=$(${DUB} search '"dub-registry"' -v 2>&1); then + die $LINENO '`dub search "dub-registry"` failed' "$OUTPUT" fi -if ! grep -q '^dub (.*)\s'<<<"$OUTPUT"; then - die $LINENO '`grep -q '"'"'^dub (.*)\s'"'"'` failed' "$OUTPUT" +if ! grep -q '^dub-registry (.*)\s'<<<"$OUTPUT"; then + die $LINENO '`grep -q '"'"'^dub-registry (.*)\s'"'"'` failed' "$OUTPUT" fi