diff --git a/utils/appveyor/after_build.bat b/utils/appveyor/after_build.bat
index 2efbfe1fd047b8f89d48e1086ef260d1b278c81d..8b6f5242b1ae7e7ca0adfaded3bb9ccaa7db5cbc 100644
--- a/utils/appveyor/after_build.bat
+++ b/utils/appveyor/after_build.bat
@@ -32,7 +32,7 @@ xcopy /F "%BuildPlugins%\*.dll" "%Destination%\plugins" || goto :error
 
 "%Executable%" --help || goto :error
 "%Executable%" --version || goto :error
-"%Executable%" tests || "%Executable%" tests || goto :error
+"%Executable%" tests || goto :error
 
 7z a "%Name%.zip" -r "%Destination%" || goto :error