Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@novell.com>2011-05-09 10:22:04 +0400
committerMike Krüger <mkrueger@novell.com>2011-05-09 10:22:04 +0400
commita5fe514eb376f851f163b864b5e2ded7e7372be0 (patch)
tree3773ee3bbdc5a402493b9790226cb5dcc2ae8258 /main/tests
parent64471b02624723fe3c06b945fddea3d349a07bee (diff)
Fixed text editor unit tests.
Diffstat (limited to 'main/tests')
-rw-r--r--main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs b/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
index 73fbc6a8ca..a109fb0522 100644
--- a/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
+++ b/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
@@ -62,7 +62,7 @@ namespace Mono.TextEditor.Tests
public void TestSpans ()
{
TestOutput ("/* TestMe */",
- "<span foreground=\"#4E9A06\">/* TestMe */</span>");
+ "<span foreground=\"#4D9A06\">/* TestMe */</span>");
}
[Test]
@@ -97,13 +97,13 @@ namespace Mono.TextEditor.Tests
public void TestCDATASection ()
{
string markup = GetMarkup ("<![CDATA[ test ]]>", "application/xml");
- if (markup != "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4E9A06\"> test</span><span foreground=\"#A40000\" weight=\"bold\"> ]]&gt;</span>" &&
- markup != "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4E9A06\"> test </span><span foreground=\"#A40000\" weight=\"bold\">]]&gt;</span>") {
+ if (markup != "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4D9A06\"> test</span><span foreground=\"#A40000\" weight=\"bold\"> ]]&gt;</span>" &&
+ markup != "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4D9A06\"> test </span><span foreground=\"#A40000\" weight=\"bold\">]]&gt;</span>") {
Assert.Fail ("CDATA markup invalid:" + markup);
}
TestOutput ("<![CDATA[ test]]>",
- "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4E9A06\"> test</span><span foreground=\"#A40000\" weight=\"bold\">]]&gt;</span>",
+ "<span foreground=\"#A40000\" weight=\"bold\">&lt;![CDATA[</span><span foreground=\"#4D9A06\"> test</span><span foreground=\"#A40000\" weight=\"bold\">]]&gt;</span>",
"application/xml");
}