var grunt = require('grunt');
var test = require('ava');

test('default space', function(t) {
  var actual = grunt.file.read('tmp/default.html');
  var expected = grunt.file.read('test/expected/default.html');
  t.is(actual, expected);
  t.end();
});

test('default tab', function(t) {
  var actual = grunt.file.read('tmp/default_tab.html');
  var expected = grunt.file.read('test/expected/default_tab.html');
  t.is(actual, expected);
  t.end();
});

test('marked default value', function(t) {
  var actual = grunt.file.read('tmp/marked_default.html');
  var expected = grunt.file.read('test/expected/marked_default.html');
  t.is(actual, expected);
  t.end();
});

test('marked user value', function(t) {
  var actual = grunt.file.read('tmp/marked_mark.html');
  var expected = grunt.file.read('test/expected/marked_mark.html');
  t.is(actual, expected);
  t.end();
});

test('only js', function(t) {
  var actual = grunt.file.read('tmp/type_js.html');
  var expected = grunt.file.read('test/expected/type_js.html');
  t.is(actual, expected);
  t.end();
});

test('only css', function(t) {
  var actual = grunt.file.read('tmp/type_css.html');
  var expected = grunt.file.read('test/expected/type_css.html');
  t.is(actual, expected);
  t.end();
});

test('only css and marked files', function(t) {
  var actual = grunt.file.read('tmp/type_css_and_marked_mark.html');
  var expected = grunt.file.read('test/expected/type_css_and_marked_mark.html');
  t.is(actual, expected);
  t.end();
});

test('multiple assets', function(t) {
  var actual = grunt.file.read('tmp/multiple_assets.html');
  var expected = grunt.file.read('test/expected/multiple_assets.html');
  t.is(actual, expected);
  t.end();
});

test('nesting space', function(t) {
  var actual = grunt.file.read('tmp/nesting_space.html');
  var expected = grunt.file.read('test/expected/nesting_space.html');
  t.is(actual, expected);
  t.end();
});

test('nesting tab', function(t) {
  var actual = grunt.file.read('tmp/nesting_tab.html');
  var expected = grunt.file.read('test/expected/nesting_tab.html');
  t.is(actual, expected);
  t.end();
});

@@ -1,17 +1,14 @@
 var 
-grunt
+fs
  = requi
@@ -11,21 +11,18 @@
 equire('
-grunt
+fs
 ');%0Avar 
@@ -92,39 +92,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/defaul
@@ -146,39 +146,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -284,39 +284,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/defaul
@@ -342,39 +342,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -493,39 +493,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/marked
@@ -554,39 +554,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -705,39 +705,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/marked
@@ -763,39 +763,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -901,39 +901,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/type_j
@@ -955,39 +955,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -1090,39 +1090,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/type_c
@@ -1145,39 +1145,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -1298,39 +1298,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/type_c
@@ -1369,39 +1369,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -1528,39 +1528,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/multip
@@ -1590,39 +1590,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -1738,39 +1738,39 @@
 ar actual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/nestin
@@ -1798,39 +1798,39 @@
  expected = 
-grunt.file.read
+fs.readFileSync
 ('test/expec
@@ -1946,31 +1946,31 @@
 ctual = 
-grunt.file.read
+fs.readFileSync
 ('tmp/ne
@@ -2008,23 +2008,23 @@
 d = 
-grunt.file.read
+fs.readFileSync
 ('te

drop Grunt from test