Merge "Fix array-related errorprone warnings"
diff --git a/tests/hostside/helper/java/com/android/microdroid/test/MicrodroidHostTestCaseBase.java b/tests/hostside/helper/java/com/android/microdroid/test/MicrodroidHostTestCaseBase.java
index 2992a43..c84513a 100644
--- a/tests/hostside/helper/java/com/android/microdroid/test/MicrodroidHostTestCaseBase.java
+++ b/tests/hostside/helper/java/com/android/microdroid/test/MicrodroidHostTestCaseBase.java
@@ -144,7 +144,7 @@
         CommandResult result = RunUtil.getDefault()
                 .runTimedCmdRetry(timeoutMs,
                         MICRODROID_COMMAND_RETRY_INTERVAL_MILLIS, attempts, cmd);
-        assertWithMessage("Command `" + cmd + "` has failed")
+        assertWithMessage("Command `" + Arrays.toString(cmd) + "` has failed")
                 .about(command_results())
                 .that(result)
                 .isSuccess();
@@ -158,7 +158,7 @@
         CommandResult result = RunUtil.getDefault()
                 .runTimedCmdRetry(timeoutMs, MICRODROID_COMMAND_RETRY_INTERVAL_MILLIS, attempts,
                         "adb", "-s", MICRODROID_SERIAL, "shell", join(cmd));
-        assertWithMessage("Command `" + cmd + "` has failed")
+        assertWithMessage("Command `" + Arrays.toString(cmd) + "` has failed")
                 .about(command_results())
                 .that(result)
                 .isSuccess();