Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLarsson committed Jan 22, 2019
1 parent 70c6498 commit 430bc74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ReflectionAnalyzers.Tests/Documentation/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ Or put this at the top of the file to disable all instances.
.AppendLine(" </tr>");
}

return stub.Replace(" <tr>\r\n <td>Code</td>\r\n <td><a href=\"<URL>\"><TYPENAME></a></td>\r\n </tr>\r\n", builder.Return())
.Replace(" <tr>\n <td>Code</td>\n <td><a href=\"<URL>\"><TYPENAME></a></td>\n </tr>\n", builder.Return());
var text = builder.Return();
return stub.Replace(" <tr>\r\n <td>Code</td>\r\n <td><a href=\"<URL>\"><TYPENAME></a></td>\r\n </tr>\r\n", text)
.Replace(" <tr>\n <td>Code</td>\n <td><a href=\"<URL>\"><TYPENAME></a></td>\n </tr>\n", text);
}

private static string GetTable(string doc)
Expand Down

0 comments on commit 430bc74

Please sign in to comment.