21 lines
366 B
Swift
21 lines
366 B
Swift
|
//
|
||
|
// URLTests.swift
|
||
|
//
|
||
|
//
|
||
|
// Created by Shadowfacts on 5/17/22.
|
||
|
//
|
||
|
|
||
|
import XCTest
|
||
|
import WebURL
|
||
|
import WebURLFoundationExtras
|
||
|
|
||
|
class URLTests: XCTestCase {
|
||
|
|
||
|
func testDecodeURL() {
|
||
|
print(WebURL(URL(string: "https://xn--baw-joa.social/@unituebingen")!))
|
||
|
let url = WebURL("https://xn--baw-joa.social/@unituebingen")
|
||
|
print(url)
|
||
|
}
|
||
|
|
||
|
}
|