improve a/an after get (#566)

This commit is contained in:
Dongxu Wang 2023-08-12 22:59:30 +08:00 committed by GitHub
parent 2ad6c6cd03
commit 80e4e800c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -263,7 +263,7 @@ class ActorMailboxSpec(conf: Config) extends PekkoSpec(conf) with DefaultTimeout
UnboundedDeqMailboxTypes)
}
"get an bounded message queue when it's only configured with RequiresMailbox" in {
"get a bounded message queue when it's only configured with RequiresMailbox" in {
checkMailboxQueue(Props[BoundedQueueReportingActor](), "default-override-from-trait", BoundedMailboxTypes)
}
@ -299,7 +299,7 @@ class ActorMailboxSpec(conf: Config) extends PekkoSpec(conf) with DefaultTimeout
UnboundedControlAwareMailboxTypes)
}
"get an bounded control aware message queue when it's only configured with RequiresMailbox" in {
"get a bounded control aware message queue when it's only configured with RequiresMailbox" in {
checkMailboxQueue(
Props[BoundedControlAwareQueueReportingActor](),
"default-override-from-trait-bounded-control-aware",

View file

@ -419,7 +419,7 @@ private[stream] final class SourceRefStageImpl[Out](val initialPartnerRef: Optio
scheduleOnce(TerminationDeadlineTimerKey, finalTerminationSignalDeadline)
case AwaitingSubscription(ref) =>
// we didn't get an a first demand yet but have access to the partner - try a cancellation dance
// we didn't get a first demand yet but have access to the partner - try a cancellation dance
triggerCancellationExchange(ref, cause)
case UpstreamCompleted(_) =>