amqplib: small cleanup of the test code

This commit is contained in:
abreits
2015-10-22 13:51:13 +02:00
parent 16f5ce29bd
commit 9d4382e67b
+2 -2
View File
@@ -24,7 +24,7 @@ amqp.connect("amqp://localhost")
// test promise api properties
var amqpMessage: amqp.Message;
amqpMessage.properties.contentType === "application/json";
amqpMessage.properties.contentType = "application/json";
var amqpAssertExchangeOptions: amqp.Options.AssertExchange;
var anqpAssertExchangeReplies: amqp.Replies.AssertExchange;
@@ -62,6 +62,6 @@ amqpcb.connect("amqp://localhost", (err, connection) => {
// test callback api properties
var amqpcbMessage: amqp.Message;
amqpMessage.properties.contentType === "application/json";
amqpcbMessage.properties.contentType = "application/json";
var amqpcbAssertExchangeOptions: amqp.Options.AssertExchange;
var anqpcbAssertExchangeReplies: amqp.Replies.AssertExchange;