Index: pkg/polymer/test/build/import_inliner_test.dart |
diff --git a/pkg/polymer/test/build/import_inliner_test.dart b/pkg/polymer/test/build/import_inliner_test.dart |
index 7fd955302b47993ba650b3d29ed1a94ff65dec84..023bf4db8d5e6c1c7d3b07bab7220dce5c4359de 100644 |
--- a/pkg/polymer/test/build/import_inliner_test.dart |
+++ b/pkg/polymer/test/build/import_inliner_test.dart |
@@ -843,6 +843,20 @@ void entryPointTests() { |
'</body></html>', |
}); |
+ testPhases('includes in entry points normalize correctly', phases, { |
+ 'a|web/test/test.html': |
+ '<!DOCTYPE html><html><head>' |
+ '<script src="packages/a/foo/bar.js"></script>' |
+ '</head></html>', |
+ 'a|lib/foo/bar.js': |
+ 'console.log("here");', |
+ }, { |
+ 'a|web/test/test.html': |
+ '<!DOCTYPE html><html><head></head><body>' |
+ '<script src="../packages/a/foo/bar.js"></script>' |
+ '</body></html>', |
+ }); |
+ |
testPhases('two level deep entry points normalize correctly', phases, { |
'a|web/test/well/test.html': |
'<!DOCTYPE html><html><head>' |