Skip to content

Commit

Permalink
chore: Fix additional issue in docs/test
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jan 30, 2024
1 parent d650137 commit 2e16267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/test/scala/docs/actor/ActorDocSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ class ActorDocSpec extends PekkoSpec("""
// #identify

val a = system.actorOf(Props.empty)
val b = system.actorOf(Props(classOf[Follower], this))
val b = system.actorOf(Props(classOf[Follower]))
watch(b)
system.stop(a)
expectMsgType[pekko.actor.Terminated].actor should be(b)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class DispatcherDocSpec extends PekkoSpec(DispatcherDocSpec.config) {
case x => log.info(x.toString)
}
}
val a = system.actorOf(Props(classOf[Logger], this).withDispatcher("prio-dispatcher"))
val a = system.actorOf(Props(classOf[Logger]).withDispatcher("prio-dispatcher"))

/*
* Logs:
Expand Down

0 comments on commit 2e16267

Please sign in to comment.