mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-03 13:30:14 +01:00
21 lines
386 B
Swift
21 lines
386 B
Swift
|
//
|
||
|
// DictionaryWebTests.swift
|
||
|
//
|
||
|
//
|
||
|
// Created by Brent Simmons on 5/20/24.
|
||
|
//
|
||
|
|
||
|
import XCTest
|
||
|
import Web
|
||
|
|
||
|
final class DictionaryWebTests: XCTestCase {
|
||
|
|
||
|
func testURLQueryString_oneItemNoEscaping() {
|
||
|
|
||
|
let d = ["parameterName" : "value"]
|
||
|
let queryString = d.urlQueryString
|
||
|
let expectedQueryString = "parameterName=value"
|
||
|
XCTAssertEqual(queryString, expectedQueryString)
|
||
|
}
|
||
|
}
|