Skip to content

Commit

Permalink
Fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
evie-lau committed Oct 27, 2023
1 parent 3d60dba commit 606e94d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package io.openliberty.tools.common.plugins.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -625,7 +626,7 @@ public void testInvalidIncludeDir() throws Exception {
expected.add("orig");

verifyServerFeatures(expected);
util.containsErrorMessage("Path specified a file, but resource exists as a directory (path=includeDir)");
assertTrue(util.containsErrorMessage("Path specified a file, but resource exists as a directory (path=includeDir)"));
}

@Test
Expand Down

0 comments on commit 606e94d

Please sign in to comment.