#19830 Fix corrupted code include directive

This commit is contained in:
Martynas Mickevičius 2016-02-19 13:58:42 +02:00
parent bd244a4fd4
commit 988695224b
2 changed files with 2 additions and 2 deletions

View file

@ -133,8 +133,8 @@ class StreamTcpDocSpec extends AkkaSpec {
.via(replParser)
connection.join(repl).run()
//#repl-client
}
//#repl-client
serverProbe.expectMsg("Hello world")
serverProbe.expectMsg("What a lovely day")

View file

@ -52,7 +52,7 @@ Let's say we know a server has exposed a simple command line interface over TCP,
and would like to interact with it using Akka Streams over TCP. To open an outgoing connection socket we use
the ``outgoingConnection`` method:
ąio/StreamTcpDocSpec.scala#repl-client
.. includecode:: ../code/docs/stream/io/StreamTcpDocSpec.scala#repl-client
The ``repl`` flow we use to handle the server interaction first prints the servers response, then awaits on input from
the command line (this blocking call is used here just for the sake of simplicity) and converts it to a