Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing AppendFormat issue + unit tests #300

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Fixing AppendFormat issue + unit tests #300

merged 1 commit into from
Oct 4, 2021

Conversation

superzer0
Copy link
Contributor

@superzer0 superzer0 commented Oct 4, 2021

Fixes https://jira.solarwinds.com/browse/NCM-8025

System.FormatException: Input string was not in a correct format. at System.Text.StringBuilder.FormatError() at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.Text.StringBuilder.AppendFormat(String format, Object[] args) at SwqlStudio.DocumentationBuilder.ToToolTip(ITypedMetadata metadata, IObsoleteMetadata obsoleteMetadata) at SwqlStudio.TreeNodesBuilder.AddPropertiesToNode(IMetadataProvider provider, TreeNode entityNode, IEnumerable1 properties)`

Copy link
Contributor

@danjagnow danjagnow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for adding StringBuilderExtensionsTests.

if (entity.IsIndication)
{

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: Why the blank line here?

@danjagnow danjagnow merged commit e7b9675 into solarwinds:master Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants