Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better error message for test failure
  • Loading branch information
Ryan Morgan committed Sep 4, 2009
1 parent 5209406 commit aeaacc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/hyperic/hq/hqapi1/test/Metric_test.java
Expand Up @@ -199,8 +199,8 @@ public void testSyncEnable() throws Exception {

MetricResponse metric = metricApi.getMetric(disabledMetric.getId());
hqAssertSuccess(metric);
assertTrue("Metric " + disabledMetric.getName() + " not enabled.",
metric.getMetric().isEnabled());
assertTrue("Metric " + disabledMetric.getName() + " not enabled. (id=" +
disabledMetric.getId() + ")", metric.getMetric().isEnabled());

// Reset
try {
Expand Down

0 comments on commit aeaacc9

Please sign in to comment.