Skip to content

Commit 56aeb49

Browse files
committed
Merge branch 'develop' into release/v8.1
2 parents 9d22f22 + 47a6cc4 commit 56aeb49

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"url": "https://github.com/peterramsing/lost.git"
99
},
1010
"dependencies": {
11-
"postcss": "^5.2.8",
12-
"object-assign": "^4.1.0"
11+
"object-assign": "^4.1.0",
12+
"postcss": "^6.0.2"
1313
},
1414
"keywords": [
1515
"grid",
@@ -26,6 +26,7 @@
2626
"homepage": "http://lostgrid.org",
2727
"devDependencies": {
2828
"chai": "^3.5",
29+
"clean-css": "^4.1.4",
2930
"codecov": "^2.1.0",
3031
"eslint": "^3.16",
3132
"mocha": "^3.2",

test/check.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
var expect = require('chai').expect;
44
var lost = require('../lost');
5+
var cleanCss = require('clean-css');
56
var postcss = require('postcss');
67

78
module.exports = function check( input, output, opts ) {
89
var processor = postcss([lost(opts)]);
10+
var cleanInput = new cleanCss({}).minify(processor.process(input).css);
11+
var cleanOutput = new cleanCss({}).minify(output);
912

10-
expect(processor.process(input).css).to.equal(output);
13+
expect(cleanInput.styles).to.equal(cleanOutput.styles);
1114
};

0 commit comments

Comments
 (0)