Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: capitalize module name #73

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import PackageDescription

let package = Package(
name: "momento",
name: "Momento",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "momento",
targets: ["momento"]),
name: "Momento",
targets: ["Momento"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.6.0"),
Expand All @@ -19,7 +19,7 @@ let package = Package(
// 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: "momento",
name: "Momento",
dependencies: [
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "GRPC", package: "grpc-swift")],
Expand All @@ -38,8 +38,8 @@ let package = Package(
]
),
.testTarget(
name: "momentoTests",
dependencies: ["momento", .product(name: "SwiftProtobuf", package: "swift-protobuf"), .product(name: "GRPC", package: "grpc-swift")]
name: "MomentoTests",
dependencies: ["Momento", .product(name: "SwiftProtobuf", package: "swift-protobuf"), .product(name: "GRPC", package: "grpc-swift")]
)
]
)
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import momento
@testable import Momento

// All of the below are fake mock data and are unusable to access Momento services
let testLegacyToken = "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyQHRlc3QuY29tIiwiY3AiOiJjb250cm9sLnRlc3QuY29tIiwiYyI6ImNhY2hlLnRlc3QuY29tIn0.c0Z8Ipetl6raCNHSHs7Mpq3qtWkFy4aLvGhIFR4CoR0OnBdGbdjN-4E58bAabrSGhRA8-B2PHzgDd4JF4clAzg"
Expand Down Expand Up @@ -39,7 +39,7 @@ final class authTests: XCTestCase {
testV1Token.startIndex...testV1Token.index(testV1Token.startIndex, offsetBy: testV1Token.count - 2)
])
do {
let credentialProvider = try CredentialProvider.fromString(apiKey: truncatedV1Token)
let _ = try CredentialProvider.fromString(apiKey: truncatedV1Token)
} catch CredentialProviderError.badToken {
XCTAssertTrue(true)
return
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import momento
@testable import Momento

final class cacheTests: XCTestCase {
private var integrationTestCacheName: String!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import momento
@testable import Momento

final class configTests: XCTestCase {
private var integrationTestCacheName: String!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import momento
@testable import Momento

final class listTests: XCTestCase {
private var integrationTestCacheName: String!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import momento
@testable import Momento

let apiKeyEnvVarName = "TEST_API_KEY"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import momento
@testable import Momento

final class topicsTests: XCTestCase {
private var integrationTestCacheName: String!
Expand Down
Loading