diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/advanced.md | 11 |
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. |