Skip to content

Commit

Permalink
chore: capitalize module name (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 authored Dec 1, 2023
1 parent 4e81fbe commit 463e739
Show file tree
Hide file tree
Showing 76 changed files with 13 additions and 13 deletions.
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.
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
@@ -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

0 comments on commit 463e739

Please sign in to comment.