diff options
| author | Michael Howell <michael@notriddle.com> | 2022-11-04 13:19:33 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-11-04 13:19:33 -0700 |
| commit | 4bd6748bb9b73c210558498070ae0b7ed8193ddf (patch) | |
| tree | 7d7a43d9bc7056bda3168a8ed7f411717920382d /src/test | |
| parent | b30c4d1932f7c547a431d2a67f939a8305644fdc (diff) | |
| download | rust-4bd6748bb9b73c210558498070ae0b7ed8193ddf.tar.gz rust-4bd6748bb9b73c210558498070ae0b7ed8193ddf.zip | |
rustdoc: get rid of CSS/DOM `div.desc span`, which isn't really needed
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc-gui/search-result-color.goml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/rustdoc-gui/search-result-color.goml b/src/test/rustdoc-gui/search-result-color.goml index 37d7b03a099..0c3b1119074 100644 --- a/src/test/rustdoc-gui/search-result-color.goml +++ b/src/test/rustdoc-gui/search-result-color.goml @@ -67,7 +67,7 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( - "//*[@class='desc']//*[text()='Just a normal struct.']", + "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(197, 197, 197)"}, ) assert-css: ( @@ -159,7 +159,7 @@ assert-css: ( ) // Checking color and background on hover. -move-cursor-to: "//*[@class='desc']//*[text()='Just a normal struct.']" +move-cursor-to: "//*[@class='desc'][text()='Just a normal struct.']" assert-css: ( "//*[@class='result-name']/*[text()='test_docs::']", {"color": "rgb(255, 255, 255)"}, @@ -179,7 +179,7 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( - "//*[@class='desc']//*[text()='Just a normal struct.']", + "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(221, 221, 221)"}, ) assert-css: ( @@ -276,7 +276,7 @@ reload: // Waiting for the search results to appear... wait-for: "#titles" assert-css: ( - "//*[@class='desc']//*[text()='Just a normal struct.']", + "//*[@class='desc'][text()='Just a normal struct.']", {"color": "rgb(0, 0, 0)"}, ) assert-css: ( |
