NetNewsWire/Web/Tests/WebTests/DictionaryWebTests.swift
2024-05-20 22:56:55 -07:00

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)
}
}