Sha256: ad16e70c297f52c58d794fa174735d9d886de7c17e607ee5cde9377a14569995

Contents?: true

Size: 276 Bytes

Versions: 40

Compression:

Stored size: 276 Bytes

Contents

getJasmineRequireObj().toMatch = function() {

  function toMatch() {
    return {
      compare: function(actual, expected) {
        var regexp = new RegExp(expected);

        return {
          pass: regexp.test(actual)
        };
      }
    };
  }

  return toMatch;
};

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/bootstrap-tagsinput/lib/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.11.0 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.5 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.4 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.3 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.2 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.1 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.10.0 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.9.1 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.9.0 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.8.2 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.8.1 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.8.0 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.8 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.7 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.6 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.5 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.4 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.3 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js
upjs-rails-0.7.2 spec_app/vendor/assets/bower_components/jasmine/src/core/matchers/toMatch.js