Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Added some tests after the fact for #17499 #17714

Merged
merged 3 commits into from
Apr 15, 2020

Conversation

gaaclarke
Copy link
Member

relevant pr: #17499

@auto-assign auto-assign bot requested a review from franciscojma86 April 14, 2020 22:27
@gaaclarke gaaclarke requested a review from jmagman April 14, 2020 22:27
Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

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

LGTM with nit

@@ -1,5 +1,7 @@
#!/bin/sh

set -e
Copy link
Member

Choose a reason for hiding this comment

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

👍

SemanticsObject* parent = [[SemanticsObject alloc] initWithBridge:bridge uid:0];
SemanticsObject* child = [[SemanticsObject alloc] initWithBridge:bridge uid:1];
parent.children = @[child];
XCTAssertEqual(parent, child.parent, @"");
Copy link
Member

Choose a reason for hiding this comment

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

You can leave off the @"" for all the XCAsserts, the message is optional.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

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

Successfully merging this pull request may close these issues.

3 participants