summaryrefslogtreecommitdiffstats
path: root/hugolib/embedded_shortcodes_test.go
diff options
context:
space:
mode:
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()