Kaynağa Gözat

Import without @testable to test public API.

Michael Ledin 9 yıl önce
ebeveyn
işleme
8d62769cf8
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      Tests/CryptoSwiftTests/Access.swift

+ 2 - 1
Tests/CryptoSwiftTests/Access.swift

@@ -8,7 +8,8 @@
 
 
 import XCTest
 import XCTest
 import Foundation
 import Foundation
-@testable import CryptoSwift
+// import without @testable to test public API
+import CryptoSwift
 
 
 class Access: XCTestCase {
 class Access: XCTestCase {
     let cipher = try! AES(key: "secret0key000000", iv: "0123456789012345")
     let cipher = try! AES(key: "secret0key000000", iv: "0123456789012345")