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:
authorAlexandros <onedrawingperday@users.noreply.github.com>2018-06-09 12:13:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-09 12:13:36 +0300
commit65deb72dc4c9299416cf2d9defddb96dba4101fd (patch)
tree77b302c85e7be1402570fc2c525b1939d0853f56 /hugolib/embedded_shortcodes_test.go
parentdc4226a8b27e03e31068fc945daab885d3819d04 (diff)
tplimpl: Remove speakerdeck shortcode
Fixes #4830
Diffstat (limited to 'hugolib/embedded_shortcodes_test.go')
-rw-r--r--hugolib/embedded_shortcodes_test.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go
index 3de93eef9..36ffe76c5 100644
--- a/hugolib/embedded_shortcodes_test.go
+++ b/hugolib/embedded_shortcodes_test.go
@@ -160,35 +160,6 @@ title: Shorty
}
}
-func TestShortcodeSpeakerdeck(t *testing.T) {
- t.Parallel()
-
- for _, this := range []struct {
- in, expected string
- }{
- {
- `{{< speakerdeck 4e8126e72d853c0060001f97 >}}`,
- "(?s)<script async class='speakerdeck-embed' data-id='4e8126e72d853c0060001f97'.*?>.*?</script>",
- },
- } {
-
- var (
- cfg, fs = newTestCfg()
- th = testHelper{cfg, fs, t}
- )
-
- writeSource(t, fs, filepath.Join("content", "simple.md"), fmt.Sprintf(`---
-title: Shorty
----
-%s`, this.in))
- writeSource(t, fs, filepath.Join("layouts", "_default", "single.html"), `{{ .Content }}`)
-
- buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})
-
- th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected)
- }
-}
-
func TestShortcodeYoutube(t *testing.T) {
t.Parallel()