@@ -360,7 +360,7 @@ module.exports = (testRunner, jsonFixtures, csvFixtures) => {
360360 // Default value
361361
362362 testRunner . add ( 'should output the default value as set in \'defaultValue\'' , ( t ) => {
363- const opts = ' --fields carModel,price --default-value ""' ;
363+ const opts = ' --fields carModel,price --default-value "- "' ;
364364
365365 child_process . exec ( cli + '-i ' + getFixturePath ( '/json/defaultValueEmpty.json' ) + opts , ( err , stdout , stderr ) => {
366366 t . notOk ( stderr ) ;
@@ -372,7 +372,7 @@ module.exports = (testRunner, jsonFixtures, csvFixtures) => {
372372
373373 testRunner . add ( 'should override \'options.defaultValue\' with \'field.defaultValue\'' , ( t ) => {
374374 const opts = ' --fields-config ' + getFixturePath ( '/fields/overriddenDefaultValue.json' )
375- + ' --default-value ""' ;
375+ + ' --default-value "- "' ;
376376
377377 child_process . exec ( cli + '-i ' + getFixturePath ( '/json/overriddenDefaultValue.json' ) + opts , ( err , stdout , stderr ) => {
378378 t . notOk ( stderr ) ;
@@ -384,7 +384,7 @@ module.exports = (testRunner, jsonFixtures, csvFixtures) => {
384384
385385 testRunner . add ( 'should use \'options.defaultValue\' when no \'field.defaultValue\'' , ( t ) => {
386386 const opts = ' --fields-config ' + getFixturePath ( '/fields/overriddenDefaultValue2.js' )
387- + ' --default-value ""' ;
387+ + ' --default-value "- "' ;
388388
389389 child_process . exec ( cli + '-i ' + getFixturePath ( '/json/overriddenDefaultValue.json' ) + opts , ( err , stdout , stderr ) => {
390390 t . notOk ( stderr ) ;
0 commit comments