Skip to content

Commit

Permalink
test(compat): ci compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranstrom committed Jul 20, 2017
1 parent 835f542 commit 89efb83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ function verifyBasic(rendered, sourceFile, mapIncluded) {
expect(rendered.vars.global.$map.sources).to.have.length(1);
expect(rendered.vars.global.$map.sources[0]).to.equal(normalizePath(sourceFile));
expect(rendered.vars.global.$map.expressions).to.have.length(1);
expect(rendered.vars.global.$map.expressions[0]).to.equal(`(${EOL} number: 2em,${EOL} string: 'mapstring'${EOL})`);
expect(rendered.vars.global.$map.expressions[0]).to.be.oneOf([
`(${EOL} number: 2em,${EOL} string: 'mapstring'${EOL})`,
`(\n number: 2em,\n string: 'mapstring'\n)`,
]);
}
}

Expand Down

0 comments on commit 89efb83

Please sign in to comment.