Skip to content

Commit b1d1afc

Browse files
author
Steve Powell
committed
Tidy test.
1 parent 809fe3c commit b1d1afc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/src/com/rabbitmq/client/test/functional/QueueLifecycle.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,8 @@ public void testArgumentArrays() throws IOException {
162162
Map<String, Object> args = new HashMap<String, Object>();
163163
String[] arr = new String[]{"foo", "bar", "baz"};
164164
args.put("my-key", arr);
165-
// args.put("my-key", Arrays.asList(arr));
166165
String queueName = "argumentArraysQueue";
167-
channel.queueDeclare(queueName, true, true, false, args).getQueue();
168-
verifyQueueExists(queueName);
166+
channel.queueDeclare(queueName, true, true, false, args);
167+
verifyQueue(queueName, true, true, false, args);
169168
}
170169
}

0 commit comments

Comments
 (0)