import test from 'ava';
import plugin from '../postcss-rem-phi-units'
import postcss from 'postcss';
import { readFileSync } from 'fs';

test('Settingless units', async t => {
	postcss(plugin)
		.process(readFileSync('in.css'))
		.then(result =>
			t.same(result.css, readFileSync('expected.css', 'utf8'))
		);
});

@@ -62,16 +62,17 @@
 i-units'
+;
 %0Aimport 
@@ -299,16 +299,17 @@
 'utf8'))
+;
 %0A%09%09);%0A%7D)

Convert test js to happiness