diff --git a/src/Docu.Tests/Parsing/CommentParserTests.cs b/src/Docu.Tests/Parsing/CommentParserTests.cs index a2cab92..127b3c4 100644 --- a/src/Docu.Tests/Parsing/CommentParserTests.cs +++ b/src/Docu.Tests/Parsing/CommentParserTests.cs @@ -127,6 +127,17 @@ public void ShouldParseSeeForProperty() ((See)blocks[0]).Reference.Name.ShouldEqual("SecondProperty"); } + [Test] + public void ShouldParseSeeForRelativeProperty() + { + var blocks = parser.ParseNode("".ToNode()); + + blocks.Count.ShouldEqual(1); + blocks[0].ShouldBeOfType(); + ((See)blocks[0]).Reference.IsResolved.ShouldBeFalse(); + ((See)blocks[0]).Reference.Name.ShouldEqual("OtherProperty"); + } + [Test] public void ShouldParseSeeForEvent() {