mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 02:25:20 +00:00
Fix build warnings: exclude README and fix unused variable
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ let package = Package(
|
|||||||
"Assets.xcassets",
|
"Assets.xcassets",
|
||||||
"bitchat.entitlements",
|
"bitchat.entitlements",
|
||||||
"bitchat-macOS.entitlements",
|
"bitchat-macOS.entitlements",
|
||||||
"LaunchScreen.storyboard"
|
"LaunchScreen.storyboard",
|
||||||
|
"ViewModels/Extensions/README.md"
|
||||||
],
|
],
|
||||||
resources: [
|
resources: [
|
||||||
.process("Localizable.xcstrings")
|
.process("Localizable.xcstrings")
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ struct ChatViewModelReceivingTests {
|
|||||||
|
|
||||||
@Test @MainActor
|
@Test @MainActor
|
||||||
func didReceiveMessage_callsDelegate() async {
|
func didReceiveMessage_callsDelegate() async {
|
||||||
let (viewModel, transport) = makeTestableViewModel()
|
let (_, transport) = makeTestableViewModel()
|
||||||
|
|
||||||
let message = BitchatMessage(
|
let message = BitchatMessage(
|
||||||
id: "msg-001",
|
id: "msg-001",
|
||||||
|
|||||||
Reference in New Issue
Block a user