Skip to content

Commit

Permalink
Use @testable Instead of Public Tag Init
Browse files Browse the repository at this point in the history
  • Loading branch information
joelklabo committed Aug 11, 2023
1 parent 014c04a commit 01e6a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/NostrSDK/Tag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public class Tag: Codable, Equatable {
/// - value: The content identifier associated with the type. For example, for the
/// pubkey type, the `value` is the 32-byte, hex-encoded pubkey.
/// - otherParameters: The remaining parameters in the array of strings the tag consists of.
public init(name: TagName, value: String, otherParameters: [String] = []) {
init(name: TagName, value: String, otherParameters: [String] = []) {
self.name = name
self.value = value
self.otherParameters = otherParameters
Expand Down
2 changes: 1 addition & 1 deletion Tests/NostrSDKTests/EventCreatingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import NostrSDK
@testable import NostrSDK
import XCTest

final class EventCreatingTests: XCTestCase, EventCreating, EventVerifying {
Expand Down

0 comments on commit 01e6a31

Please sign in to comment.