Skip to content

Commit

Permalink
type fix and added unit tests microsoft#3500
Browse files Browse the repository at this point in the history
  • Loading branch information
iozcelik committed Oct 19, 2023
1 parent b008aeb commit 678c478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static string CleanupSymbolName(this string? original)
{'=', "Equal"},
{'>', "GreaterThan"},
{'?', "QuestionMark"},
{'~', "Tilda" },
{'~', "Tilde" },
};

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void NamesDontDiffer_DoesntWriteEnumMember()
[InlineData("\\", "BackSlash")]
[InlineData("?", "QuestionMark")]
[InlineData("$", "Dollar")]
[InlineData("~", "Tilde")]
[InlineData("double", "Double")]
[InlineData("string", "String")]
[InlineData("Invalid lorem’s", "InvalidLoremS")]
Expand Down

0 comments on commit 678c478

Please sign in to comment.