Polish func naming in shortcode handling

This commit is contained in:
bep
2015-04-18 00:40:54 +02:00
parent bed053071e
commit be46a4b9b0
2 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ func pageFromString(in, filename string) (*Page, error) {
func CheckShortCodeMatch(t *testing.T, input, expected string, template tpl.Template) {
p, _ := pageFromString(SIMPLE_PAGE, "simple.md")
output := ShortcodesHandle(input, p, template)
output := handleShortcodes(input, p, template)
if output != expected {
t.Fatalf("Shortcode render didn't match. Expected: %q, Got: %q", expected, output)