From 624e8843d32ca420341aa2ba7ae54d8bbc8e6f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janek=20G=C3=B3ral?= Date: Tue, 6 Jul 2021 14:50:48 +0200 Subject: [PATCH] Update example --- .../src/test/kotlin/flank/exection/parallel/Example.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tool/execution/parallel/src/test/kotlin/flank/exection/parallel/Example.kt b/tool/execution/parallel/src/test/kotlin/flank/exection/parallel/Example.kt index 9e4d16e14f..7e710671cc 100644 --- a/tool/execution/parallel/src/test/kotlin/flank/exection/parallel/Example.kt +++ b/tool/execution/parallel/src/test/kotlin/flank/exection/parallel/Example.kt @@ -118,7 +118,7 @@ private object Example { // ======================= Example Run ======================= fun main() { - val args = mapOf( + val args: ParallelState = mapOf( // Specify initial state. // Commend initial Args to simulate failure of initial validation. Args to Args( @@ -127,9 +127,7 @@ fun main() { b = 8, c = 13, ), - Parallel.Logger to { log: Any -> - println(log) - }, + // Parallel.Logger to { log: Any -> println(log) }, // Parallel.Sequence to Unit, )