diff --git a/tpl/tplimpl/shortcodes_integration_test.go b/tpl/tplimpl/shortcodes_integration_test.go index 750c15edf..4e7d19bb7 100644 --- a/tpl/tplimpl/shortcodes_integration_test.go +++ b/tpl/tplimpl/shortcodes_integration_test.go @@ -485,7 +485,6 @@ Content: {{ .Content }} } func TestXShortcodes(t *testing.T) { - t.Skip("TODO: Fix broken test") t.Parallel() htesting.SkipSlowTestUnlessCI(t) @@ -511,12 +510,12 @@ title: p2 b := hugolib.Test(t, files) // Test x shortcode - want := `
- ` + want := `Owl bet you'll lose this staring contest 🦉 pic.twitter.com/eJh4f2zncC
— San Diego Zoo Wildlife Alliance (@sandiegozoo) October 26, 2021
+` b.AssertFileContent("public/p1/index.html", want) // Test x_simple shortcodes - wantSimple := "Owl bet you'll lose this staring contest 🦉 pic.twitter.com/eJh4f2zncC
— San Diego Zoo Wildlife Alliance (@sandiegozoo) October 26, 2021
\n--" + wantSimple := "Owl bet you'll lose this staring contest 🦉 pic.twitter.com/eJh4f2zncC
— San Diego Zoo Wildlife Alliance (@sandiegozoo) October 26, 2021
\n--" b.AssertFileContent("public/p2/index.html", wantSimple) // Test privacy.x.simpleOwl bet you'll lose this staring contest 🦉 pic.twitter.com/eJh4f2zncC
— San Diego Zoo Wildlife Alliance (@sandiegozoo) October 26, 2021