summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/extend-css.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/extend-css.goml')
-rw-r--r--tests/rustdoc-gui/extend-css.goml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/extend-css.goml b/tests/rustdoc-gui/extend-css.goml
new file mode 100644
index 000000000..fb34469df
--- /dev/null
+++ b/tests/rustdoc-gui/extend-css.goml
@@ -0,0 +1,5 @@
+// Test to ensure that the `--extend-css` option is working as expected.
+go-to: "file://" + |DOC_PATH| + "/extend_css/index.html"
+show-text: true
+// The text from the `.extend` element should be red.
+assert-css: (".extend", {"color": "rgb(255, 0, 0)"})