const path = require('path');
const assert = require( 'assert' );

function normalize ( file ) {
	return path.resolve( __dirname, file ).split( '\\' ).join( '/' );
}

module.exports = {
	description: 'throws on duplicate export * from',
	warnings ( warnings ) {
		assert.deepEqual( warnings, [
			`Conflicting namespaces: ${normalize('main.js')} re-exports 'foo' from both ${normalize('foo.js')} (will be ignored) and ${normalize('deep.js')}.`
		]);
	}
};

@@ -1,18 +1,25 @@
 const 
-path
+%7B resolve %7D
  = requi
@@ -71,51 +71,26 @@
 );%0A%0A
-function normalize ( file ) %7B%0A%09return
+const r =
  path
-.
+ =%3E 
 reso
@@ -109,43 +109,15 @@
 me, 
-file ).split( '%5C%5C' ).join( '/'
+path
  );
-%0A%7D
 %0A%0Amo
@@ -271,25 +271,17 @@
 aces: $%7B
-normalize
+r
 ('main.j
@@ -314,25 +314,17 @@
  both $%7B
-normalize
+r
 ('foo.js
@@ -355,17 +355,9 @@
 d $%7B
-normalize
+r
 ('de

fix another test