Github user jsoref commented on a diff in the pull request: https://github.com/apache/cordova-ios/pull/122#discussion_r22111477 --- Diff: tests/spec/create.spec.js --- @@ -103,4 +103,15 @@ describe('create', function() { shell.rm('-rf', tmp); }); +}); + +describe('end-to-end list validation', function(){ + it('handles list parameter', function() { + shell.cp('-f', path.join(cordova_bin, 'check_reqs'), path.join(cordova_bin, 'templates', 'scripts', 'cordova', 'check_reqs')); + var command = '"' + path.join(cordova_bin, 'templates', 'scripts', 'cordova', 'run') + '" --list'; + var output = shell.exec(command, {silent: true}).output; + expect(output).toMatch(/Available iOS Virtual Devices/); + expect(output).toMatch(/Available iOS Devices/); + shell.rm('-f', path.join(cordova_bin, 'templates', 'scripts', 'cordova', 'check_reqs')); + }); }); --- End diff -- and again, when you see a red null on white background, please fix it by adding the newline to the end of the file.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org