summaryrefslogtreecommitdiffstats
path: root/SendGrid/Tests/TestSendgrid.cs
diff options
context:
space:
mode:
authorWataru Sato <awwa500@gmail.com>2015-01-28 18:31:14 +0900
committerWataru Sato <awwa500@gmail.com>2015-01-28 18:31:14 +0900
commit35a76e291ee4cfbbe63a21a4b3819537eb0781fc (patch)
tree9a9bd83e9b5b2522350c98a2b1ed01059f6d7717 /SendGrid/Tests/TestSendgrid.cs
parentc14afcfbcf4aa04132a3742528b17f461272fa7c (diff)
downloadsendgrid-csharp-35a76e291ee4cfbbe63a21a4b3819537eb0781fc.zip
sendgrid-csharp-35a76e291ee4cfbbe63a21a4b3819537eb0781fc.tar.gz
sendgrid-csharp-35a76e291ee4cfbbe63a21a4b3819537eb0781fc.tar.bz2
AddSection
Diffstat (limited to 'SendGrid/Tests/TestSendgrid.cs')
-rw-r--r--SendGrid/Tests/TestSendgrid.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/SendGrid/Tests/TestSendgrid.cs b/SendGrid/Tests/TestSendgrid.cs
index 400c64f..dfd4c73 100644
--- a/SendGrid/Tests/TestSendgrid.cs
+++ b/SendGrid/Tests/TestSendgrid.cs
@@ -347,16 +347,16 @@ namespace Tests
Assert.AreEqual("{\"filters\" : {\"opentrack\" : {\"settings\" : {\"enable\" : \"0\"}}}}", json);
}
- [Test]
- public void TestAddSection()
- {
- var header = new Header();
- var sendgrid = new SendGridMessage(header);
+ [Test]
+ public void TestAddSection()
+ {
+ var header = new Header();
+ var sendgrid = new SendGridMessage(header);
- sendgrid.AddSection("tag", "value");
+ sendgrid.AddSection("tag", "value");
- var json = header.JsonString();
- Assert.AreEqual("{\"section\" : {\"tag\" : \"value\"}}", json);
- }
+ var json = header.JsonString();
+ Assert.AreEqual("{\"section\" : {\"tag\" : \"value\"}}", json);
+ }
}
} \ No newline at end of file