diff options
Diffstat (limited to 'tests/rustdoc-gui/item-summary-table.goml')
-rw-r--r-- | tests/rustdoc-gui/item-summary-table.goml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/item-summary-table.goml b/tests/rustdoc-gui/item-summary-table.goml new file mode 100644 index 000000000..2a92e9da5 --- /dev/null +++ b/tests/rustdoc-gui/item-summary-table.goml @@ -0,0 +1,6 @@ +// This test ensures that <table> elements aren't display in items summary. +goto: "file://" + |DOC_PATH| + "/lib2/summary_table/index.html" +// We check that we picked the right item first. +assert-text: (".item-table .item-left", "Foo") +// Then we check that its summary is empty. +assert-false: ".item-table .item-right" |