[smuxi/experiments/certfp: 30/55] Engine-Tests: fixed test-case for broken mail links



commit b067c6f1789780c9254a5c78b6e9524d204e8136
Author: Mirco Bauer <meebey meebey net>
Date:   Fri Jan 3 04:08:34 2014 +0100

    Engine-Tests: fixed test-case for broken mail links

 src/Engine-Tests/MessageBuilderTests.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Engine-Tests/MessageBuilderTests.cs b/src/Engine-Tests/MessageBuilderTests.cs
index 085812f..2df06fd 100644
--- a/src/Engine-Tests/MessageBuilderTests.cs
+++ b/src/Engine-Tests/MessageBuilderTests.cs
@@ -493,12 +493,13 @@ namespace Smuxi.Engine
         }
 
         [Test]
-        public void BrokenMail()
+        public void AppendBrokenMail()
         {
             var msg = "mailto:/larry google com";
             var builder = new MessageBuilder();
             builder.TimeStamp = DateTime.MinValue;
-            builder.Append(new TextMessagePartModel("mailto:/larry google com"));
+            builder.Append(new TextMessagePartModel("mailto:/";));
+            builder.Append(new UrlMessagePartModel("mailto:larry google com", "larry google com"));
             TestMessage(msg, builder.ToMessage());
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]