Skip to content

Commit 444218b

Browse files
author
Michal Kowaliszyn
committed
Updated scaladoc comment for Assertions
1 parent 21952c8 commit 444218b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scalatest.dotty/src/main/scala/org/scalatest/Assertions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import org.scalatest.compatible.Assertion
127127
*
128128
* <pre class="stHighlight">
129129
* val attempted = 2
130-
* assert(attempted == 1, "Execution was attempted " + left + " times instead of 1 time")
130+
* assert(attempted == 1, "Execution was attempted " + attempted + " times instead of 1 time")
131131
* </pre>
132132
*
133133
* <p>

scalatest/src/main/scala/org/scalatest/Assertions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import org.scalactic.anyvals.NonEmptyArray
127127
*
128128
* <pre class="stHighlight">
129129
* val attempted = 2
130-
* assert(attempted == 1, "Execution was attempted " + left + " times instead of 1 time")
130+
* assert(attempted == 1, "Execution was attempted " + attempted + " times instead of 1 time")
131131
* </pre>
132132
*
133133
* <p>

0 commit comments

Comments
 (0)