Skip to content

Commit

Permalink
- [#51] remove dashes from product name
Browse files Browse the repository at this point in the history
closes #51
  • Loading branch information
pacu committed Jun 6, 2024
1 parent a51bb7f commit 7889471
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ let targets: [Target] = [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "zcash-swift-payment-uri",
name: "ZcashPaymentURI",
dependencies: [
.product(name: "Parsing", package: "swift-parsing"),
.product(name: "BigDecimal", package: "BigDecimal"),
.product(name: "CustomDump", package: "swift-custom-dump")
]
),
.testTarget(
name: "zcash-swift-payment-uriTests",
name: "ZcashPaymentURITests",
dependencies: [
"zcash-swift-payment-uri"
"ZcashPaymentURI"
]
),
]
Expand All @@ -40,16 +40,16 @@ let targets: [Target] = [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "zcash-swift-payment-uri",
name: "ZcashPaymentURI",
dependencies: [
.product(name: "Parsing", package: "swift-parsing"),
.product(name: "BigDecimal", package: "BigDecimal"),
]
),
.testTarget(
name: "zcash-swift-payment-uriTests",
name: "ZcashPaymentURITests",
dependencies: [
"zcash-swift-payment-uri"
"ZcashPaymentURI"
]
),
]
Expand All @@ -64,8 +64,8 @@ let package = Package(
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "zcash-swift-payment-uri",
targets: ["zcash-swift-payment-uri"]
name: "ZcashPaymentURI",
targets: ["ZcashPaymentURI"]
),
],
dependencies: dependencies,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// AmountTests.swift
//
//
// Created by Francisco Gindre on 11/14/23.
// Created by Francisco Gindre on 2023-11-14
//

import XCTest
import BigDecimal
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
final class AmountTests: XCTestCase {
func testAmountStringDecimals() throws {
XCTAssertEqual(try Amount(value: 123.456).toString(), "123.456")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import XCTest
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
final class EncodingTests: XCTestCase {
func test_qcharEncodedStringContainsAllowedCharactersOnly() {
let message = "sk8:forever@!"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// MemoBytesTests.swift
//
//
// Created by Francisco Gindre on 11/7/23.
// Created by Francisco Gindre on 2023-11-07
//

import XCTest
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
final class MemoBytesTests: XCTestCase {
func testInitWithString() throws {
let expectedBase64 = "VGhpcyBpcyBhIHNpbXBsZSBtZW1vLg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import XCTest
import Parsing
import CustomDump
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI

final class ParsingTests: XCTestCase {
// MARK: Valid URIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// RecipientTests.swift
//
//
// Created by Francisco Gindre on 11/7/23.
// Created by Francisco Gindre on 2023-11-07.
//

import XCTest
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
final class RecipientTests: XCTestCase {
func testRecipientInitNilWhenValidationFails() {
XCTAssertNil(RecipientAddress(value: "asdf", validating: { _ in false }))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// RendererTests.swift
//
//
// Created by Francisco Gindre on 11/13/23.
// Created by Francisco Gindre on 2023-11-13.
//

import XCTest
import CustomDump
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
final class RendererTests: XCTestCase {
func testAmountRendersNoParamIndex() throws {
let expected = "amount=123.456"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import CustomDump
@testable import zcash_swift_payment_uri
@testable import ZcashPaymentURI
// swiftlint:disable line_length
final class ZcashSwiftPaymentUriTests: XCTestCase {
func testSingleRecipient() throws {
Expand Down

0 comments on commit 7889471

Please sign in to comment.