Skip to content

Commit

Permalink
Multi byte test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach committed May 30, 2024
1 parent d25613a commit bee9c12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/test/NetStandard/UnitTests/Core/AWSSDKUtilsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace UnitTests.NetStandard.Core
public class AWSSDKUtilsTests
{
[Theory]
[InlineData("\ud83d\ude02 value, with special chars!", "%F0%9F%98%82%20value%2C%20with%20special%20chars%21")]
[InlineData("value, with special chars!", "value%2C%20with%20special%20chars%21")]
[InlineData("value, with special chars and path {/+:}", "value%2C%20with%20special%20chars%20and%20path%20%7B%2F%2B%3A%7D")]
public void UrlEncodeWithoutPath(string input, string expected)
Expand All @@ -17,6 +18,7 @@ public void UrlEncodeWithoutPath(string input, string expected)
}

[Theory]
[InlineData("\ud83d\ude02 value, with special chars!", "%F0%9F%98%82%20value%2C%20with%20special%20chars!")]
[InlineData("value, with special chars!", "value%2C%20with%20special%20chars!")]
[InlineData("value, with special chars and path {/+:}", "value%2C%20with%20special%20chars%20and%20path%20%7B/%2B:%7D")]
public void UrlEncodeWithPath(string input, string expected)
Expand Down

0 comments on commit bee9c12

Please sign in to comment.