Skip to content

Commit

Permalink
Fix testSubscriptionMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jul 3, 2024
1 parent ab9b80e commit d07e32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/D2TestUtils/CommandTestUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extension Command {
with content: String,
output: any CommandOutput,
context: CommandContext = CommandContext(sink: nil, registry: CommandRegistry(), message: Message(content: ""), commandPrefix: "", subscriptions: SubscriptionSet())
) {
onSubscriptionMessage(with: content, output: output, context: context)
) async {
await onSubscriptionMessage(with: content, output: output, context: context)
}
}

0 comments on commit d07e32c

Please sign in to comment.