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

Fix typo in string resources #1178

Merged
merged 2 commits into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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>
cheenamalhotra marked this conversation as resolved.
Show resolved Hide resolved
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>
cheenamalhotra marked this conversation as resolved.
Show resolved Hide resolved
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