Skip to content

Commit

Permalink
Merge d7caa50 into 8fa7343
Browse files Browse the repository at this point in the history
  • Loading branch information
depfu[bot] committed Jun 9, 2019
2 parents 8fa7343 + d7caa50 commit 4044d22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
12 changes: 3 additions & 9 deletions lib/assertions.js
Expand Up @@ -563,9 +563,7 @@ module.exports = expect => {
args.forEach(arg => {
if (arg === '') {
throw new Error(
`The '${
expect.testDescription
}' assertion does not support the empty string`
`The '${expect.testDescription}' assertion does not support the empty string`
);
}
});
Expand Down Expand Up @@ -697,9 +695,7 @@ module.exports = expect => {
(expect, subject, value) => {
if (value === '') {
throw new Error(
`The '${
expect.testDescription
}' assertion does not support a prefix of the empty string`
`The '${expect.testDescription}' assertion does not support a prefix of the empty string`
);
}
var isTruncated = false;
Expand Down Expand Up @@ -757,9 +753,7 @@ module.exports = expect => {
(expect, subject, value) => {
if (value === '') {
throw new Error(
`The '${
expect.testDescription
}' assertion does not support a suffix of the empty string`
`The '${expect.testDescription}' assertion does not support a suffix of the empty string`
);
}
var isTruncated = false;
Expand Down
4 changes: 1 addition & 3 deletions lib/createTopLevelExpect.js
Expand Up @@ -747,9 +747,7 @@ expectPrototype.addType = function(type, childExpect) {

if (typeof type.identify !== 'function' && type.identify !== false) {
throw new Error(
`Type ${
type.name
} must specify an identify function or be declared abstract by setting identify to false`
`Type ${type.name} must specify an identify function or be declared abstract by setting identify to false`
);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -60,7 +60,7 @@
"node-version-check": "^2.2.0",
"nyc": "^14.0.0",
"offline-github-changelog": "^1.6.1",
"prettier": "~1.17.0",
"prettier": "~1.18.2",
"rollup": "^1.0.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-globals": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion vendor/rsvp.js

0 comments on commit 4044d22

Please sign in to comment.