From 4aabaafc06f0bb7b26210a137276c31fed437af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Wed, 11 Jan 2012 16:11:11 +0100 Subject: Improve SameStateTest. - Assert on specific state. --- jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java b/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java index 4c2a11d..90ce658 100644 --- a/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java +++ b/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java @@ -97,7 +97,8 @@ public class SameStateTest { state1.internalRun(); state2.internalRun(); state3.internalRun(); - assertEquals(state1.getCurrentState(), state2.getCurrentState()); - assertEquals(state2.getCurrentState(), state3.getCurrentState()); + assertEquals("New state1", state1.getCurrentState()); + assertEquals("New state1", state2.getCurrentState()); + assertEquals("New state1", state2.getCurrentState()); } } -- cgit v1.2.3