diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -69,7 +69,7 @@ describe( 'buble', () => {
 				var commandFile = path.resolve( dir, 'command.sh' );
 
 				var command = fs.readFileSync( commandFile, 'utf-8' )
-					.replace( 'buble', 'node ' + binFile );
+					.replace( 'buble', 'node "' + binFile + '"' );
 				child_process.exec( command, {
 					cwd: dir
 				}, ( err, stdout, stderr ) => {
fix cli test to work in directories with uncommon names