Skip to content

Commit c336ce7

Browse files
Test Hello World example in README
1 parent 43e2e7c commit c336ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SendGrid.Tests/Integration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void TestSendSingleEmailWithHelper()
9898

9999
Console.WriteLine(msg.Serialize());
100100

101-
Assert.True(msg.Serialize() == "{\"from\":{\"name\":\"Example User\",\"email\":\"[email protected]\"},\"personalizations\":[{\"to\":[{\"name\":\"Example User\",\"email\":\"[email protected]\"}],\"subject\":\"Sending with SendGrid is Fun\"}],\"content\":[{\"type\":\"text/plain\",\"value\":\"and easy to do anywhere, even with C#\"},{\"type\":\"text/html\",\"value\":\"\u003cstrong\u003eand easy to do anywhere, even with C#\u003c/strong\u003e\"}]}");
101+
Assert.True(msg.Serialize() == "{\"from\":{\"name\":\"Example User\",\"email\":\"[email protected]\"},\"personalizations\":[{\"to\":[{\"name\":\"Example User\",\"email\":\"[email protected]\"}],\"subject\":\"Sending with SendGrid is Fun\"}],\"content\":[{\"type\":\"text/plain\",\"value\":\"and easy to do anywhere, even with C#\"},{\"type\":\"text/html\",\"value\":\"<strong>and easy to do anywhere, even with C#<strong>\"}]}");
102102
}
103103

104104
[Fact]

0 commit comments

Comments
 (0)