modified test

This commit is contained in:
Phil Kunz 2015-10-06 00:45:52 +02:00
parent 28b9666133
commit b1dfe658c4
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ var getAnswerTest = function () {
}); });
}; };
var getChoiceTest = function () { var getChoiceTest = function () {
smartcli.getChoice('What to you like best?', ['Cars', 'Planes', 'Boats'], function (answer) { smartcli.getChoice('What music do you like to hear?', ['Jazz', 'Blues', 'Classical'], function (answer) {
console.log('The answer is: ' + answer); console.log('The answer is: ' + answer);
getCwdTest(); getCwdTest();
}); });

View File

@ -9,7 +9,7 @@ var getAnswerTest = function() {
}; };
var getChoiceTest = function() { var getChoiceTest = function() {
smartcli.getChoice('What to you like best?',['Cars','Planes','Boats'],function(answer){ smartcli.getChoice('What music do you like to hear?',['Jazz','Blues','Classical'],function(answer){
console.log('The answer is: ' + answer); console.log('The answer is: ' + answer);
getCwdTest(); getCwdTest();
}); });