Skip to content

Commit

Permalink
Upgrade to unexpected 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Oct 17, 2015
1 parent 2e6506a commit 75c15c5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"sinon": "1.17.1",
"stylus": "0.52.4",
"swig": "1.4.2",
"unexpected": "9.16.0",
"unexpected-sinon": "7.3.0"
"unexpected": "10.0.1",
"unexpected-sinon": "8.0.0"
}
}
2 changes: 1 addition & 1 deletion test/autoprefixer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var expect = require('unexpected')
.clone()
.installPlugin(require('unexpected-sinon'));

expect.addAssertion('string', 'to have file content', function (expect, subject, cmp) {
expect.addAssertion('<string> to have file content <string>', function (expect, subject, cmp) {
return when.all([
whenFs.readFile(subject, 'utf8'),
whenFs.readFile(cmp, 'utf8')
Expand Down
2 changes: 1 addition & 1 deletion test/errors-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var src = 'fixtures/source';
var compiled = 'fixtures/compiled';
var mnt = 'test/ERROR';

expect.addAssertion('string', 'to have file content', function (expect, subject, cmp) {
expect.addAssertion('<string> to have file content <string>', function (expect, subject, cmp) {
return when.all([
whenFs.readFile(subject, 'utf8'),
whenFs.readFile(cmp, 'utf8')
Expand Down
2 changes: 1 addition & 1 deletion test/read-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var whenFs = node.liftAll(fs);
var expect = require('unexpected')
.clone();

expect.addAssertion('string', 'to have file content', function (expect, subject, cmp) {
expect.addAssertion('<string> to have file content <string>', function (expect, subject, cmp) {
return when.all([
whenFs.readFile(subject, 'utf8'),
whenFs.readFile(cmp, 'utf8')
Expand Down
2 changes: 1 addition & 1 deletion test/scss-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var whenFs = node.liftAll(fs);
var expect = require('unexpected')
.clone();

expect.addAssertion('string', 'to have file content', function (expect, subject, cmp) {
expect.addAssertion('<string> to have file content <string>', function (expect, subject, cmp) {
return when.all([
whenFs.readFile(subject, 'utf8'),
whenFs.readFile(cmp, 'utf8')
Expand Down
2 changes: 1 addition & 1 deletion test/sourcemaps-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var expect = require('unexpected')
.clone()
.installPlugin(require('unexpected-sinon'));

expect.addAssertion('string', 'to have file content', function (expect, subject, cmp) {
expect.addAssertion('<string> to have file content <string>', function (expect, subject, cmp) {
return when.all([
whenFs.readFile(subject, 'utf8'),
whenFs.readFile(cmp, 'utf8')
Expand Down

0 comments on commit 75c15c5

Please sign in to comment.