Sha256: 488ef7d76872cd95b6dac603a6f545ab1bf6279e821ea016889e3e235df7340a

Contents?: true

Size: 308 Bytes

Versions: 9

Compression:

Stored size: 308 Bytes

Contents

function assertEqual(expected, actual){
  if(expected != actual){
    throw 'Expected <' + expected + "> but got <" + actual + ">";
  }
}

function assertMatches(expected, actual){
  if(actual.indexOf(expected) == -1){
    throw 'Expected <' + expected + "> to contain <" + actual + "> but it did not";
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cucumber-0.7.3 examples/javascript/features/support/env.js
cucumber-0.7.2 examples/javascript/features/support/env.js
cucumber-0.7.1 examples/javascript/features/support/env.js
cucumber-0.7.0 examples/javascript/features/support/env.js
cucumber-0.7.0.beta.8 examples/javascript/features/support/env.js
cucumber-0.7.0.beta.7 examples/javascript/features/support/env.js
cucumber-0.7.0.beta.6 examples/javascript/features/support/env.js
cucumber-0.7.0.beta.5 examples/javascript/features/support/env.js
cucumber-0.7.0.beta.4 examples/javascript/features/support/env.js