+str #18501 improvements and fixes in StreamTestKit (adds toStrict)

This commit is contained in:
Konrad Malawski 2015-09-17 12:57:07 +02:00
parent 8bb8dc4f68
commit ab96ebfca0
5 changed files with 367 additions and 48 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
}