Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11250

Fix CLI tests verifying the version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-cli
    • None

    Description

      Including a commit SHA into the nightly build version is causing such a test failure:

      Failures:
      
        1) cordova cli options version will spit out the version with -v
         Message:
           Expected '6.2.0-nightly.2016.05.11+bebdebf5d851ee6f2e7f593d884ce5d0f8829b17' to match '6.2.0-nightly.2016.05.11+bebdebf5d851ee6f2e7f593d884ce5d0f8829b17'.
         Stacktrace:
           Error: Expected '6.2.0-nightly.2016.05.11+bebdebf5d851ee6f2e7f593d884ce5d0f8829b17' to match '6.2.0-nightly.2016.05.11+bebdebf5d851ee6f2e7f593d884ce5d0f8829b17'.
          at null.<anonymous> (f:\coho\cordova-cli\spec\cli.spec.js:55:60)
          at Timer.listOnTimeout (timers.js:92:15)
      

      Attachments

        Issue Links

          Activity

            People

              daserge Sergey Shakhnazarov
              daserge Sergey Shakhnazarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: