Fixing broken dump testcases

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2018-10-22 15:09:15 -05:00
parent cb9301ab1d
commit 9b6c4da774
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public class ClassLoaderDumptTest
server.dump(out);
String dump = out.toString();
assertThat(dump,containsString("+-ParentedLoader"));
assertThat(dump,containsString("| +>"+Server.class.getClassLoader()));
assertThat(dump,containsString("| +>Server loader: "+Server.class.getClassLoader()));
assertThat(dump,containsString("+>"+Server.class.getClassLoader()));
}
@ -100,7 +100,7 @@ public class ClassLoaderDumptTest
String dump = out.toString();
assertThat(dump,containsString("+-TopLoader"));
assertThat(dump,containsString("| +>MiddleLoader"));
assertThat(dump,containsString("| +>"+Server.class.getClassLoader()));
assertThat(dump,containsString("| +>Server loader: "+Server.class.getClassLoader()));
assertThat(dump,containsString("+>"+Server.class.getClassLoader()));
}