Skip to content

Commit

Permalink
Fix typo in string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang committed Jul 20, 2021
1 parent 68fc259 commit 1d91cd2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<value>Use of key '{0}' requires the key '{1}' to be present.</value>
</data>
<data name="ADP_InvalidConnectionOptionValueLength" xml:space="preserve">
<value>The value's length for key '{0}' exceeds it's limit of '{1}'.</value>
<value>The value's length for key '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="ADP_KeywordNotSupported" xml:space="preserve">
<value>Keyword not supported: '{0}'.</value>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@
<value>Specified QuotePrefix and QuoteSuffix values do not match.</value>
</data>
<data name="ADP_InvalidArgumentLength" xml:space="preserve">
<value>The length of argument '{0}' exceeds it's limit of '{1}'.</value>
<value>The length of argument '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="SQL_WrongType" xml:space="preserve">
<value>Expecting argument of type {1}, but received type {0}.</value>
Expand All @@ -1783,7 +1783,7 @@
<value>Use of key '{0}' requires the key '{1}' to be present.</value>
</data>
<data name="ADP_InvalidConnectionOptionValueLength" xml:space="preserve">
<value>The value's length for key '{0}' exceeds it's limit of '{1}'.</value>
<value>The value's length for key '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="ADP_KeywordNotSupported" xml:space="preserve">
<value>Keyword not supported: '{0}'.</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void ChangePassword_NewPassword_ExceedMaxLength()
{
ArgumentException ex = Assert.Throws<ArgumentException>(() => SqlConnection.ChangePassword("server=SQLSRV", new string('d', 129)));
// The length of argument 'newPassword' exceeds
// it's limit of '128'
// its limit of '128'
Assert.Null(ex.InnerException);
Assert.NotNull(ex.Message);
Assert.True(ex.Message.IndexOf("'newPassword'") != -1);
Expand Down

0 comments on commit 1d91cd2

Please sign in to comment.