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

Add byte array property to GearsOfWar model #19067

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Nov 25, 2019

No description provided.

@maumar maumar requested a review from roji November 25, 2019 22:50
Assert.Equal(e.Banner == null, a.Banner == null);
if (e.Banner != null)
{
for (var i = 0; i < e.Banner.Length; i++)
Copy link
Member

Choose a reason for hiding this comment

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

a.Banner can be longer than e.Banner with this passing. Can use SequenceEqual to fix and make this a bit terser too.

@roji
Copy link
Member

roji commented Nov 26, 2019

Thanks!

@maumar maumar force-pushed the add_binary_column_to_gow branch from f53ea59 to 93d5bfb Compare November 26, 2019 05:40
@maumar maumar merged commit 93d5bfb into master Nov 26, 2019
@maumar maumar deleted the add_binary_column_to_gow branch November 26, 2019 05:40
@@ -185,6 +185,11 @@ protected GearsOfWarQueryFixtureBase()
{
Assert.Equal(e.Id, a.Id);
Assert.Equal(e.Name, a.Name);
Assert.Equal(e.Banner == null, a.Banner == null);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should have put in else block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants