mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
19 lines
353 B
Swift
19 lines
353 B
Swift
//
|
|
// StringTests.swift
|
|
// RSWebTests
|
|
//
|
|
// Created by Brent Simmons on 1/13/18.
|
|
// Copyright © 2018 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import Testing
|
|
@testable import RSWeb
|
|
|
|
struct StringTests {
|
|
|
|
@Test func htmlEscaping() {
|
|
let s = #"<foo>"bar"&'baz'"#.escapedHTML
|
|
#expect(s == "<foo>"bar"&'baz'")
|
|
}
|
|
}
|