Merge pull request #18503 from ktoso/wip-improvements-streamtestkit-ktoso

+str #18501 improvements and fixes in StreamTestKit (adds toStrict)
This commit is contained in:
Konrad Malawski 2015-09-28 19:29:17 +02:00
commit 880d51b89b
10 changed files with 374 additions and 52 deletions

View file

@ -153,7 +153,7 @@ class StreamTestKitDocSpec extends AkkaSpec {
sub.expectNextUnordered(1, 2, 3)
pub.sendError(new Exception("Power surge in the linear subroutine C-47!"))
val ex = sub.expectError
val ex = sub.expectError()
assert(ex.getMessage.contains("C-47"))
//#test-source-and-sink
}