Skip to content

Commit e7c9e20

Browse files
committed
Fix assertion message copy/paste issues
1 parent a3d22b1 commit e7c9e20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/nordstrom/common/file/PathUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public void testPrivateConstructor() throws Throwable {
5252

5353
Constructor<?>[] ctors;
5454
ctors = PathUtils.class.getDeclaredConstructors();
55-
assertEquals(ctors.length, 1, "GridUtility must have exactly one constructor");
55+
assertEquals(ctors.length, 1, "PathUtils must have exactly one constructor");
5656
assertEquals(ctors[0].getModifiers() & Modifier.PRIVATE, Modifier.PRIVATE,
57-
"GridUtility constructor must be private");
58-
assertEquals(ctors[0].getParameterTypes().length, 0, "GridUtility constructor must have no arguments");
57+
"PathUtils constructor must be private");
58+
assertEquals(ctors[0].getParameterTypes().length, 0, "PathUtils constructor must have no arguments");
5959

6060
try {
6161
ctors[0].setAccessible(true);

0 commit comments

Comments
 (0)