mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-29 12:40:34 +08:00
amqplib: small cleanup of the test code
This commit is contained in:
1 parent
16f5ce29bd
commit
9d4382e67b
1 file changed
+2
-2
@@ -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;
|
||||
Reference in new issue
Block a user