Skip to content

Commit 88c0b36

Browse files
committed
Version bump of used TestNG
1 parent 80a0274 commit 88c0b36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>org.testng</groupId>
4444
<artifactId>testng</artifactId>
45-
<version>6.8.8</version>
45+
<version>6.9.10</version>
4646
<scope>provided</scope>
4747
</dependency>
4848
<dependency>

src/test/java/de/tobiasroeser/lambdatest/testng/RuntimeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void testFailureInSubProcess() throws Exception {
144144
@Test(groups = { "testng" }, dependsOnGroups = { "tempfile" })
145145
public void testPendingInSubProcess() throws Exception {
146146
testInJvm(SimplePendingTest.class.getName(), result -> {
147-
assertNotEquals(result.exitCode, 0);
147+
assertEquals(result.exitCode, 0);
148148
final Optional<String> line = Util.find(result.output, l -> l.startsWith("Total tests run"));
149149
assertTrue(line.isDefined());
150150
assertEquals(line.get(), "Total tests run: 1, Failures: 0, Skips: 1");
@@ -154,7 +154,7 @@ public void testPendingInSubProcess() throws Exception {
154154
@Test(groups = { "testng" }, dependsOnGroups = { "tempfile" })
155155
public void testPendingWithReasonInSubProcess() throws Exception {
156156
testInJvm(SimplePendingWithReasonTest.class.getName(), result -> {
157-
assertNotEquals(result.exitCode, 0);
157+
assertEquals(result.exitCode, 0);
158158
final Optional<String> line = Util.find(result.output, l -> l.startsWith("Total tests run"));
159159
assertTrue(line.isDefined());
160160
assertEquals(line.get(), "Total tests run: 1, Failures: 0, Skips: 1");

0 commit comments

Comments
 (0)