Skip to content

Commit 65abf58

Browse files
authored
Re-enable tests requiring isoLatin1/macOSRoman (#5027)
1 parent af24464 commit 65abf58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ var dependencies: [Package.Dependency] {
102102
from: "0.0.9"),
103103
.package(
104104
url: "https://github.com/apple/swift-foundation",
105-
revision: "d59046871c6b69a13595f18d334afa1553e0ba50")
105+
revision: "acae3d26b69113cec2db7772b4144ab9558241db")
106106
]
107107
}
108108
}

Tests/Foundation/TestDataURLProtocol.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ class TestDataURLProtocol: XCTestCase {
7979
("data:;charset=utf-16;base64,2D3caCAN2D3caCAN2D3cZyAN2D3cZw==", "👨‍👨‍👧‍👧", (expectedContentLength: 22, mimeType: "text/plain", textEncodingName: "utf-16")),
8080
("data:;charset=utf-16le;base64,Pdho3A0gPdho3A0gPdhn3A0gPdhn3A==", "👨‍👨‍👧‍👧", (expectedContentLength: 22, mimeType: "text/plain", textEncodingName: "utf-16le")),
8181
("data:;charset=utf-16be;base64,2D3caCAN2D3caCAN2D3cZyAN2D3cZw==", "👨‍👨‍👧‍👧", (expectedContentLength: 22, mimeType: "text/plain", textEncodingName: "utf-16be")),
82-
// ("data:application/json;charset=iso-8859-1;key=value,,123", ",123", (expectedContentLength: 4, mimeType: "application/json", textEncodingName: "iso-8859-1")),
82+
("data:application/json;charset=iso-8859-1;key=value,,123", ",123", (expectedContentLength: 4, mimeType: "application/json", textEncodingName: "iso-8859-1")),
8383
("data:;charset=utf-8;charset=utf-16;image/png,abc", "abc", (expectedContentLength: 3, mimeType: "text/plain", textEncodingName: "utf-8")),
84-
// ("data:a/b;key=value;charset=macroman,blahblah", "blahblah", (expectedContentLength: 8, mimeType: "a/b", textEncodingName: "macroman")),
84+
("data:a/b;key=value;charset=macroman,blahblah", "blahblah", (expectedContentLength: 8, mimeType: "a/b", textEncodingName: "macroman")),
8585
]
8686

8787
let callbacks = [

0 commit comments

Comments
 (0)