cln
v1.1.0
Published
Clean source code for comparison
Downloads
37
Maintainers
Readme
Clean source code before comparing fixtures. To avoid leading/trailing/repeating whitespaces, newlines or tabs headache.
var clean = require('cln')
var assert = require('assert')
assert.equal(
clean(compile(`
float a = 1;
`)),
clean`
var a = 1;
`;