helpers: Test coverage increase
authorGergely Brautigam <skarlso777@gmail.com>
Fri, 5 Feb 2016 17:40:49 +0000 (18:40 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 6 Feb 2016 13:27:11 +0000 (14:27 +0100)
commite95f3af933ea58df0389facca9bfde1119ef2bf4
treec3178c55facf4204c6404ac21a27a231320d55d3
parent318a9845265e69702cbabb048de27532ef106e86
helpers: Test coverage increase

Started to increase coverage in helpers package, now at 74.9% of statements.

In the process, also a few minor changes have been applied to content.go.

* Content.go has undergone a formatting refactor regarding comments
* Unused function TruncateWords has been removed
* RenderingContext's "mmark" has been changed to use MmarkRender
* Content_test.go added to cover content.go's functionality
helpers/content.go
helpers/content_test.go