|
@@ -4,6 +4,7 @@ using NUnit.Framework;
|
|
|
using System;
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
|
using System.IO;
|
|
using System.IO;
|
|
|
|
|
+using System.Linq;
|
|
|
using System.Text;
|
|
using System.Text;
|
|
|
|
|
|
|
|
namespace Larkdown.Parser.Tests.Integration
|
|
namespace Larkdown.Parser.Tests.Integration
|
|
@@ -46,6 +47,8 @@ namespace Larkdown.Parser.Tests.Integration
|
|
|
|
|
|
|
|
ast.Nodes.Should().HaveCount(3);
|
|
ast.Nodes.Should().HaveCount(3);
|
|
|
ast.Nodes.Should().AllBeOfType<TextNode>();
|
|
ast.Nodes.Should().AllBeOfType<TextNode>();
|
|
|
|
|
+
|
|
|
|
|
+ ast.Nodes.First().As<TextNode>().Text.Should().Be("This is a paragraph that spans over multiple lines.");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|