You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* to be shorter than 4 but length was 5</code></pre>
45
45
* <p>
46
-
* Note that the beginning of the error message looks nice with {@link AbstractAssert#is(Condition) is(Condition)}, if we had used {@link AbstractAssert#has(Condition) has(Condition)} it wouldn't be so nice:
46
+
* Note that the beginning of the error message looks nice with {@link AbstractAssert#is(Condition) is(Condition)}, but not so much with {@link AbstractAssert#has(Condition) has(Condition)}:
47
47
* <pre><code class='text'> Expecting actual:
48
48
* "foooo"
49
49
* to have shorter than 4 but length was 5</code></pre>
@@ -74,7 +74,7 @@ public final class VerboseCondition<T> extends Condition<T> {
74
74
// predicate description
75
75
"shorter than 4",
76
76
// value under test description transformation function
77
-
s -> String.format("but length was %s", s.length(), s));</code></pre>
77
+
s -> String.format("but length was %s", s.length(), s));</code></pre>
@@ -83,7 +83,7 @@ public final class VerboseCondition<T> extends Condition<T> {
83
83
* "foooo"
84
84
* to be shorter than 4 but length was 5</code></pre>
85
85
* <p>
86
-
* Note that the beginning of the error message looks nice with {@link AbstractAssert#is(Condition) is(Condition)}, if we had used {@link AbstractAssert#has(Condition) has(Condition)} it wouldn't be so nice:
86
+
* Note that the beginning of the error message looks nice with {@link AbstractAssert#is(Condition) is(Condition)}, but not so much with {@link AbstractAssert#has(Condition) has(Condition)}:
87
87
* <pre><code class='text'> Expecting actual:
88
88
* "foooo"
89
89
* to have shorter than 4 but length was 5</code></pre>
0 commit comments