Skip to content

Commit

Permalink
[tests] Re-add tests for #389 & #394
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Jan 18, 2016
1 parent 4f92e2c commit 6611c45
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/options/unitless-zero-less/test.js

This file was deleted.

File renamed without changes.
12 changes: 12 additions & 0 deletions test/options/unitless-zero/process/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,17 @@ describe('Option `unitless-zero`, process', function() {
assert.equal(actual, 'div { -webkit-transform: rotate(0deg); }');
});
});

it('Issue 394', function() {
let test = new Test(this, {'unitless-zero': true});
return test.shouldBeEqual('issue-394.css', 'issue-394.expected.css');
});
});

describe('less', function() {
it('Issue 389', function() {
let test = new Test(this, {'unitless-zero': true});
return test.shouldBeEqual('issue-389.less');
});
});
});

0 comments on commit 6611c45

Please sign in to comment.