Permalink
Browse files

minor refactor, improve test coverage

  • Loading branch information...
paulk-asert committed Jun 16, 2012
1 parent 178d36e commit 822950cdda7a698767001ad37583207e6d72d97a
Showing with 1 addition and 1 deletion.
  1. +1 −1 subprojects/groovy-jmx/src/test/java/groovy/util/MBeanTest.java
@@ -49,7 +49,7 @@ public void testGetProperty() throws Exception {
// now let's look up the name via JMX to check
assertEquals("JMX value of Name", "Bob", mbeanServer.getAttribute(name, "Name"));
- assertEquals("Name : Bob|Location : London|Size : 3", join(object.listAttributeValues(), "|"));
+ assertEquals("Name : Bob|Location : London|Size : 12", join(object.listAttributeValues(), "|"));
assertEquals("start|stop", join(object.listOperationNames(), "|"));
assertEquals("void start()", join(object.describeOperation("start"), "|"));
assertEquals("(rw) java.lang.String Location", object.describeAttribute("Location"));

0 comments on commit 822950c

Please sign in to comment.