Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/data/data_test.go')
-rw-r--r--tpl/data/data_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tpl/data/data_test.go b/tpl/data/data_test.go
index 8bd4edc98..fa99006b2 100644
--- a/tpl/data/data_test.go
+++ b/tpl/data/data_test.go
@@ -157,6 +157,11 @@ func TestGetJSON(t *testing.T) {
"",
false,
},
+ {
+ `pass/üńīçøðê-url.json`,
+ `{"gomeetup":["Sydney","San Francisco","Stockholm"]}`,
+ map[string]interface{}{"gomeetup": []interface{}{"Sydney", "San Francisco", "Stockholm"}},
+ },
} {
msg := qt.Commentf("Test %d", i)