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

Fix CLI tests verifying the version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: