const test     = require('tap').test
    , bindings = require('bindings');

// same as fromv8string test but split over multiple compile units
// just to test that there aren't any conflicts from including nan.h
// more than once in project files
test('multifile', function (t) {
  t.plan(2);
  t.type(bindings('multifile').r, 'function');
  t.equal(bindings('multifile').r('a string value'), 'a string value');
});

@@ -290,17 +290,19 @@
 2);%0A
+%0A
   
-t.type(
+var r = 
 bind
@@ -320,16 +320,27 @@
 file').r
+%0A  t.type(r
 , 'funct
@@ -356,38 +356,16 @@
 t.equal(
-bindings('multifile').
 r('a str

fix test