diff options
-rwxr-xr-x | sbofind | 2 | ||||
-rwxr-xr-x | t/17-find.t | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ sub get_file_contents { sub show_build_queue { script_error('show_build_queue requires an argument.') unless @_ == 1; my $queue = get_build_queue([shift], {}); - return join(" ", reverse @$queue); + return join(" ", @$queue); } my $findings = perform_search($search); diff --git a/t/17-find.t b/t/17-find.t index 0fde35e..20e8e8c 100755 --- a/t/17-find.t +++ b/t/17-find.t @@ -25,7 +25,7 @@ replace_tags_txt("nonexistentslackbuild2: testingtag\n"); sbofind 'testingtag', { expected => qr!Local:\s+nonexistentslackbuild2\nPath:\s+\Q$RealBin/LO/nonexistentslackbuild2! }; # 4: show build queue -sbofind '-q', 'nonexistentslackbuild2', { expected => qr/Queue:\s+nonexistentslackbuild2 nonexistentslackbuild3/ }; +sbofind '-q', 'nonexistentslackbuild2', { expected => qr/Queue:\s+nonexistentslackbuild3 nonexistentslackbuild2/ }; # 5: show readme sbofind '-r', 'nonexistentslackbuild4', { expected => qr/README: \n This doesn't exist!/ }; |