提交 81bf5452 编写于 作者: M Matt Legrand

add missing edit to selfcheck

上级 37534fa3
......@@ -110,7 +110,7 @@ public class NodeTest {
computer.doChangeOfflineCause("new message");
cause = (UserCause) computer.getOfflineCause();
assertEquals("Disconnected by root@localhost : new message", cause.toString());
assertTrue(cause.toString(), cause.toString().matches("^.*?Disconnected by root@localhost : new message"));
assertEquals(root, cause.getUser());
computer.doToggleOffline(null);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册