[smuxi: 91/111] Engine-Tests: URLs with URLs embedded are no longer broken



commit 57d91202425b677f36ed902af55e5260ad448e9d
Author: Mirco Bauer <meebey meebey net>
Date:   Tue Jan 21 07:47:24 2014 +0100

    Engine-Tests: URLs with URLs embedded are no longer broken

 src/Engine-Tests/MessageBuilderTests.cs |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/Engine-Tests/MessageBuilderTests.cs b/src/Engine-Tests/MessageBuilderTests.cs
index 4013ecf..a122adb 100644
--- a/src/Engine-Tests/MessageBuilderTests.cs
+++ b/src/Engine-Tests/MessageBuilderTests.cs
@@ -547,17 +547,18 @@ namespace Smuxi.Engine
             builder.Append(new TextMessagePartModel("<astronouth7303> ok, this is just trippy URL matching: 
"));
             builder.Append(new UrlMessagePartModel("http://couchdb.local/mydb/_magic";));
             TestMessage(msg, builder.ToMessage());
+
+            msg = "https://web.archive.org/web/20050208144213/http://www.jaganelli.de/";;
+            builder = new MessageBuilder();
+            builder.TimeStamp = DateTime.MinValue;
+            builder.Append(new 
UrlMessagePartModel("https://web.archive.org/web/20050208144213/http://www.jaganelli.de/";));
+            TestMessage(msg, builder.ToMessage());
         }
 
         [Test]
         [Ignore]
         public void BrokenAppendMessageWithOddUrls()
         {
-            var msg = "https://web.archive.org/web/20050208144213/http://www.jaganelli.de/";;
-            var builder = new MessageBuilder();
-            builder.TimeStamp = DateTime.MinValue;
-            builder.Append(new 
UrlMessagePartModel("https://web.archive.org/web/20050208144213/http://www.jaganelli.de/";));
-            TestMessage(msg, builder.ToMessage());
         }
 
         [Test]


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