@@ -8,7 +8,7 @@ var optimist = require('optimist');
88var IonicAppLib = require ( 'ionic-app-lib' ) ;
99var Project = require ( 'ionic-app-lib' ) . project ;
1010var Serve = require ( 'ionic-app-lib' ) . serve ;
11- var crossSpawn = require ( 'cross-spawn' ) ;
11+ var crossSpawn = require ( 'cross-spawn' ) ;
1212var ConfigXml = require ( 'ionic-app-lib' ) . configXml ;
1313var log = IonicAppLib . logging . logger ;
1414
@@ -409,16 +409,6 @@ describe('filterArgumentsForCordova', function() {
409409 var cmdName = argv . _ [ 0 ] ;
410410
411411 var resultArgs = cordovaUtils . filterArgumentsForCordova ( cmdName , argv , rawCliArguments ) ;
412- expect ( resultArgs ) . toEqual ( [ 'build' , '--target="ios"' ] ) ;
413- } ) ;
414- it ( 'should ensure that the --target= parameter contains double quotes when quotes are not removed' , function ( ) {
415- var processArguments = [ 'node' , 'ionic' , 'build' ,
416- '--target="ios"' ] ;
417- var rawCliArguments = processArguments . slice ( 2 ) ;
418- var argv = optimist ( rawCliArguments ) . argv ;
419- var cmdName = argv . _ [ 0 ] ;
420-
421- var resultArgs = cordovaUtils . filterArgumentsForCordova ( cmdName , argv , rawCliArguments ) ;
422- expect ( resultArgs ) . toEqual ( [ 'build' , '--target="ios"' ] ) ;
412+ expect ( resultArgs ) . toEqual ( [ 'build' , '--target=ios' ] ) ;
423413 } ) ;
424414} ) ;
0 commit comments