Skip to content

Instantly share code, notes, and snippets.

@jonnii
Created December 14, 2012 16:17
Show Gist options
  • Save jonnii/4286603 to your computer and use it in GitHub Desktop.
Save jonnii/4286603 to your computer and use it in GitHub Desktop.
private string FixExtractContents(string contents)
{
if (contents.StartsWith("<specifiedStressTest>") && !contents.EndsWith("</specifiedStressTest>"))
{
return contents + "</specifiedStressTest>";
}
return contents;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment