Add U for 19.05 spacing, closes #48

This commit is contained in:
Bán Dénes 2021-12-15 22:45:35 +01:00
parent 3745cf3c47
commit c46a0bcd16
6 changed files with 14 additions and 7 deletions

View file

@ -136,10 +136,12 @@ for (let w of cli_what) {
const comp_res = dircompare.compareSync(output_path, path.join(t, 'reference'), {
compareContent: true
})
comp_res.same.should.be.true
if (!dump) {
if (dump) {
fs.moveSync(output_path, path.join(t, 'output'), {overwrite: true})
} else {
fs.removeSync(output_path)
}
comp_res.same.should.be.true
} else {
const ref_error = read(t, 'error').replace(version_regex, '<version>')
try {