URL Cleanup - Fix broken tests

See gh-22679
This commit is contained in:
Sam Brannen
2019-03-27 15:31:55 +01:00
parent 13dc00a16d
commit efa3ecd4e2
18 changed files with 76 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -134,7 +134,7 @@ public class AppCacheManifestTransformerTests {
assertThat("should not rewrite external resources", content,
Matchers.containsString("//example.org/style.css"));
assertThat("should not rewrite external resources", content,
Matchers.containsString("https://example.org/image.png"));
Matchers.containsString("http://example.org/image.png"));
assertThat("should generate fingerprint", content,
Matchers.containsString("# Hash: 8eefc904df3bd46537fa7bdbbc5ab9fb"));

View File

@@ -11,7 +11,7 @@ NETWORK:
CACHE:
js/bar.js
https://example.org/image.png
http://example.org/image.png
FALLBACK:
/main /static.html