Modify atlas test for short commit hashes (#18619)

* test commit hashes support

* Update testdata.nim

* remove extra newlines
This commit is contained in:
Antonis Geralis 2021-07-30 17:36:16 +03:00 • committed by GitHub
commit ecfc47b332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -70,7 +70,6 @@ proc search*(pkgList: seq[Package]; terms: seq[string]) =
var found = false
template onFound =
echo pkg
echo("")
found = true
break forPackage
@ -88,7 +87,6 @@ proc search*(pkgList: seq[Package]; terms: seq[string]) =
onFound()
else:
echo(pkg)
echo(" ")
if not found and terms.len > 0:
echo("No package found.")