From afb6782a88c3dcf34b92dc45880e0f4dc4f15703 Mon Sep 17 00:00:00 2001
From: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 19 Jun 2018 09:08:02 +1000
Subject: [PATCH] fix tests

---
 neofetch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/neofetch b/neofetch
index 8fa15897..05537012 100755
--- a/neofetch
+++ b/neofetch
@@ -2358,7 +2358,7 @@ get_song() {
     }
 
     case "${player/*\/}" in
-        "mpd"* | "mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]}")" ;;
+        "mpd"*|"mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]:?}")" ;;
         "mocp"*)          song="$(mocp -Q '%artist \n %album \n %song')" ;;
         "google play"*)   song="$(gpmdp-remote current)" ;;
         "rhythmbox"*)     song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;;
@@ -4665,7 +4665,7 @@ get_args() {
                 cpu_temp="C"
 
                 # Known implicit unused variables.
-                printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[@]}"
+                printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[*]}"
             ;;
         esac