about summary refs log tree commit diff
path: root/tests/rustdoc-gui/javascript-disabled.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/javascript-disabled.goml')
-rw-r--r--tests/rustdoc-gui/javascript-disabled.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/javascript-disabled.goml b/tests/rustdoc-gui/javascript-disabled.goml
index a7579ef7ec1..c6a7ad94b3f 100644
--- a/tests/rustdoc-gui/javascript-disabled.goml
+++ b/tests/rustdoc-gui/javascript-disabled.goml
@@ -4,7 +4,7 @@ javascript: false
 
 go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
 show-text: true
-assert-css: (".sub", {"display": "none"})
+assert-false: ".sub"
 
 // Even though JS is disabled, we should still have themes applied. Links are never black-colored
 // if styles are applied so we check that they are not.