Skip to content

Commit eada0b7

Browse files
ktosoviktorklang
authored andcommitted
Fix flop message in Promise#complete
1 parent d47df4e commit eada0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tck/src/main/java/org/reactivestreams/tck/TestEnvironment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ public void complete(T value) {
908908
// we add the value to the queue such to wake up any expectCompletion which was triggered before complete() was called
909909
abq.add(value);
910910
} else {
911-
env.flop(String.format("Cannot complete a promise more than once! Present value: %s", value));
911+
env.flop(String.format("Cannot complete a promise more than once! Present value: %s, attempted to set: %s", value));
912912
}
913913
}
914914

0 commit comments

Comments
 (0)