mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
21 lines
475 B
Swift
21 lines
475 B
Swift
//
|
|
// DisplayURLTests.swift
|
|
// MultisigTests
|
|
//
|
|
// Created by Dmitry Bespalov on 15.05.20.
|
|
// Copyright © 2020 Gnosis Ltd. All rights reserved.
|
|
//
|
|
|
|
import XCTest
|
|
@testable import Multisig
|
|
|
|
class DisplayURLTests: XCTestCase {
|
|
|
|
func testDisplayURL() {
|
|
let url = URL(string: "https://user:[email protected]:123/path/APIKEY?queryItem")!
|
|
let expected = URL(string: "https://host.com:123")!
|
|
XCTAssertEqual(DisplayURL(url).value, expected)
|
|
}
|
|
|
|
}
|