This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-scxml.git
The following commit(s) were added to refs/heads/master by this push:
new 65b54e6 Better JUnit API usage
65b54e6 is described below
commit 65b54e6bb5b0bb0ab1f9a67dd72e8b1b1de91282
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Aug 5 16:11:08 2023 -0400
Better JUnit API usage
---
src/test/java/org/apache/commons/scxml2/WizardsTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/scxml2/WizardsTest.java
b/src/test/java/org/apache/commons/scxml2/WizardsTest.java
index 768ea87..4c5ca82 100644
--- a/src/test/java/org/apache/commons/scxml2/WizardsTest.java
+++ b/src/test/java/org/apache/commons/scxml2/WizardsTest.java
@@ -86,11 +86,11 @@ public class WizardsTest {
final int i = ((Integer) params.get("aValue"));
switch (callback) {
case 0:
- Assertions.assertTrue(i == 2); // state2
+ Assertions.assertEquals(2, i); // state2
callback++;
break;
case 1:
- Assertions.assertTrue(i == 4); // state4
+ Assertions.assertEquals(4, i); // state4
callback++;
break;
default: