chai-string
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -74,4 +74,4 @@ (function (plugin) { | ||
chai.string.startsWith(actual, expected), | ||
'expected ' + this._obj + ' to starts with ' + expected, | ||
'expected ' + this._obj + ' to not starts with ' + expected | ||
'expected ' + this._obj + ' to start with ' + expected, | ||
'expected ' + this._obj + ' not to start with ' + expected | ||
); | ||
@@ -88,4 +88,4 @@ }; | ||
chai.string.endsWith(actual, expected), | ||
'expected ' + this._obj + ' to ends with ' + expected, | ||
'expected ' + this._obj + ' to not ends with ' + expected | ||
'expected ' + this._obj + ' to end with ' + expected, | ||
'expected ' + this._obj + ' not to end with ' + expected | ||
); | ||
@@ -102,4 +102,4 @@ }; | ||
chai.string.equalIgnoreCase(actual, expected), | ||
'expected ' + this._obj + ' to be equal to ' + expected + ' ignoring case', | ||
'expected ' + this._obj + ' to be not equal to ' + expected + ' ignoring case' | ||
'expected ' + this._obj + ' to equal ' + expected + ' ignoring case', | ||
'expected ' + this._obj + ' not to equal ' + expected + ' ignoring case' | ||
); | ||
@@ -113,4 +113,4 @@ }); | ||
chai.string.singleLine(actual), | ||
'expected ' + this._obj + ' to be single line', | ||
'expected ' + this._obj + ' to be not single line' | ||
'expected ' + this._obj + ' to be a single line', | ||
'expected ' + this._obj + ' not to be a single line' | ||
); | ||
@@ -124,4 +124,4 @@ }); | ||
chai.string.reverseOf(actual, expected), | ||
'expected ' + this._obj + ' to be reverse of ' + expected, | ||
'expected ' + this._obj + ' to be not reverse of ' + expected | ||
'expected ' + this._obj + ' to be the reverse of ' + expected, | ||
'expected ' + this._obj + ' not to be the reverse of ' + expected | ||
); | ||
@@ -135,4 +135,4 @@ }); | ||
chai.string.palindrome(actual), | ||
'expected ' + this._obj + ' to be palindrome', | ||
'expected ' + this._obj + ' to be not palindrome' | ||
'expected ' + this._obj + ' to be a palindrome', | ||
'expected ' + this._obj + ' not to be a palindrome' | ||
); | ||
@@ -139,0 +139,0 @@ }); |
{ | ||
"name": "chai-string", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"keywords": ["chai", "testing", "string"], | ||
@@ -20,3 +20,3 @@ "description": "strings comparison matchers for chai", | ||
"devDependencies": { | ||
"chai": "1.9.1", | ||
"chai": "^1.9.1", | ||
"mocha": "~1.6.0", | ||
@@ -26,4 +26,4 @@ "nodemon": "~0.6.23" | ||
"dependencies": { | ||
"chai": "1.9.1" | ||
"chai": "^1.9.1" | ||
} | ||
} |
@@ -6,2 +6,3 @@ # chai-string | ||
[](https://travis-ci.org/onechiporenko/chai-string) | ||
[](http://img.shields.io/npm/dm/chai-string.svg) | ||
@@ -8,0 +9,0 @@ ## Usage |
@@ -18,2 +18,3 @@ (function (test) { | ||
var assert = chai.assert; | ||
var expect = chai.expect; | ||
@@ -69,2 +70,7 @@ if (testingServer) { | ||
it('check that', function () { | ||
var obj = { foo: 'hello world' }; | ||
expect(obj).to.have.property('foo').that.startsWith('hello'); | ||
}); | ||
}); | ||
@@ -71,0 +77,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
380
92
57714
+ Addedchai@1.10.0(transitive)
- Removedchai@1.9.1(transitive)
Updatedchai@^1.9.1