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@xamarin.com>2011-09-21 13:02:32 +0400
committerMike Krüger <mkrueger@xamarin.com>2011-09-21 13:02:32 +0400
commitf00c0811b2128f179206a6dd7576d7c8bd526ff2 (patch)
tree8ce8ca8f869d1dc9e9050a0787c5ff93ac871abb /main/tests
parent17e26c56119fb0137f57662beed3129a09ae50a1 (diff)
Fixed 'Bug 603 - Last token in doc comment has wrong color'.
Diffstat (limited to 'main/tests')
-rw-r--r--main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs b/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
index a109fb0522..dc03de3f48 100644
--- a/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
+++ b/main/tests/UnitTests/Mono.TextEditor.Tests/SyntaxHighlightingTests.cs
@@ -107,5 +107,15 @@ namespace Mono.TextEditor.Tests
"application/xml");
}
+
+ ///<summary>
+ /// Bug 603 - Last token in doc comment has wrong color
+ ///</summary>
+ [Test]
+ public void TestBug603 ()
+ {
+ TestOutput ("///<summary>foo bar</summary>",
+ "<span foreground=\"#4D9A06\">///&lt;summary&gt;foo bar&lt;/summary&gt;</span>");
+ }
}
}