mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 10:25:36 +00:00
words are hard
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Octokit.Tests.Integration
|
||||
var deprecatedNode = document.DocumentNode.SelectSingleNode("//div[@class='alert warning']");
|
||||
|
||||
var isDeprecated = deprecatedNode != null
|
||||
&& deprecatedNode.InnerText.Contains(" is deprecated ");
|
||||
&& deprecatedNode.InnerText.Contains(" deprecated ");
|
||||
|
||||
return document
|
||||
.DocumentNode.SelectSingleNode("//*[@id=\"wrapper\"]/div[1]").SelectNodes("//pre")
|
||||
|
||||
Reference in New Issue
Block a user