Sha256: 2cadcb7c55163418315e20375814198276e00c8d1bbfccebd2953adbc066d211

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

Feature: Version of Snow Crash

  Scenario: Print the semantic version of Snow Crash

    # Note the output should be a semantic version (semver.org)
    # The matching regex was taken from https://github.com/isaacs/node-semver/issues/32#issue-15023919

    When I run `snowcrash --version` 
    Then the output should match /^v([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
    And the exit status should be 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redsnow-0.3.2 ext/snowcrash/features/version.feature