fix(css): when compiling CSS, leave absolute imports alone

Closes #4592
This commit is contained in:
Yegor Jbanov
2015-10-07 13:37:56 -07:00
committed by Yegor
parent 6b00b60488
commit 04b3dee667
7 changed files with 68 additions and 6 deletions

View File

@ -88,9 +88,9 @@ void allTests() {
.toThrowWith(anInstanceOf: FormatException);
});
it('should throw for unsupported schemes', () {
expect(() => toAssetScheme(Uri.parse('file:///angular2')))
.toThrowWith(anInstanceOf: FormatException);
it('should pass through unsupported schemes', () {
var uri = 'http://server.com/style.css';
expect('${toAssetScheme(Uri.parse(uri))}').toEqual(uri);
});
it('should throw if passed a null uri', () {