Skip to content

Commit 2592c1c

Browse files
Update the test from #828
1 parent 470dba7 commit 2592c1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

projects/Unit/TestBasicProperties.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,13 @@ public void TestProperties_ReplyTo(
129129
// Arrange
130130
var subject = new Framing.BasicProperties
131131
{
132-
133132
// Act
134133
ReplyTo = replyTo,
135134
};
136135

137136
// Assert
138137
bool isReplyToPresent = replyTo != null;
139-
string replyToAddress = PublicationAddress.Parse(replyTo)?.ToString();
138+
string replyToAddress = PublicationAddress.TryParse(replyTo)?.ToString();
140139
Assert.AreEqual(isReplyToPresent, subject.IsReplyToPresent());
141140

142141
var writer = new Impl.ContentHeaderPropertyWriter(new byte[1024]);

0 commit comments

Comments
 (0)