mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Move modules to Modules folder.
This commit is contained in:
19
Modules/RSWeb/Tests/RSWebTests/StringTests.swift
Normal file
19
Modules/RSWeb/Tests/RSWebTests/StringTests.swift
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// StringTests.swift
|
||||
// RSWebTests
|
||||
//
|
||||
// Created by Brent Simmons on 1/13/18.
|
||||
// Copyright © 2018 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
class StringTests: XCTestCase {
|
||||
|
||||
func testHTMLEscaping() {
|
||||
|
||||
let s = #"<foo>"bar"&'baz'"#.escapedHTML
|
||||
XCTAssertEqual(s, "<foo>"bar"&'baz'")
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user