summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-05-20 00:09:45 (GMT)
committerDino Radaković <dinor@google.com>2021-05-21 20:58:03 (GMT)
commitf8519738b0041ed594ee0676c2f92e7a7e5ed975 (patch)
tree8da620effda2f72becf1adb8e92d7efdcde16bea /docs
parentaa9b44a18678dfdf57089a5ac22c1edb69f35da5 (diff)
downloadgoogletest-f8519738b0041ed594ee0676c2f92e7a7e5ed975.zip
googletest-f8519738b0041ed594ee0676c2f92e7a7e5ed975.tar.gz
googletest-f8519738b0041ed594ee0676c2f92e7a7e5ed975.tar.bz2
Googletest export
Remove inapplicable example PiperOrigin-RevId: 374762004
Diffstat (limited to 'docs')
-rw-r--r--docs/advanced.md11
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/advanced.md b/docs/advanced.md
index 4fdbb46..7994fc8 100644
--- a/docs/advanced.md
+++ b/docs/advanced.md
@@ -411,17 +411,6 @@ using ::testing::MatchesRegex;
EXPECT_THAT(bar_string, MatchesRegex("\\w*\\d+"));
```
-If the string contains a well-formed HTML or XML document, you can check whether
-its DOM tree matches an
-[XPath expression](http://www.w3.org/TR/xpath/#contents):
-
-```c++
-// Currently still in //template/prototemplate/testing:xpath_matcher
-#include "template/prototemplate/testing/xpath_matcher.h"
-using ::prototemplate::testing::MatchesXPath;
-EXPECT_THAT(html_string, MatchesXPath("//a[text()='click here']"));
-```
-
### Windows HRESULT assertions
These assertions test for `HRESULT` success or failure.