summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode_test.go
diff options
context:
space:
mode:
authormagikstm <myskina@gmail.com>2017-01-04 17:19:09 -0500
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-05 15:40:28 +0100
commit01ee525f47289fa95fd3897815c72b60c58b47f1 (patch)
treeb9ad89460748681b68826f8006ac95c5ba8d8c30 /hugolib/shortcode_test.go
parent1b46d2cfeed781d5197ce56134c4a9107b45fcc9 (diff)
hugolib: Correct usage of "shortcode" in error messages
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r--hugolib/shortcode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index 536c06541..e7fbe7567 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -441,7 +441,7 @@ func TestExtractShortcodes(t *testing.T) {
if this.expectShortCodes != "" {
shortCodesAsStr := fmt.Sprintf("map%q", collectAndSortShortcodes(shortCodes))
if !strings.Contains(shortCodesAsStr, this.expectShortCodes) {
- t.Fatalf("[%d] %s: Short codes not as expected, got %s but expected %s", i, this.name, shortCodesAsStr, this.expectShortCodes)
+ t.Fatalf("[%d] %s: Shortcodes not as expected, got %s but expected %s", i, this.name, shortCodesAsStr, this.expectShortCodes)
}
}
}