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

[core] Fix undefined expect in test_util #6671

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

haoyunfeix
Copy link
Contributor

@haoyunfeix haoyunfeix commented Jul 25, 2022

expect().nothing() should only be called in jasmine test framework, add
if condition to avoid calling outside of the framework.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

expect().nothing() should only be called in jasmine test framework, add
if condition to avoid calling outside of the framework.
@haoyunfeix
Copy link
Contributor Author

@qjia7 @gyagp PTAL

Copy link
Contributor

@qjia7 qjia7 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

Copy link

@gyagp gyagp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 3 of 1 approvals obtained (waiting on @mattsoulanille)

@pyu10055 pyu10055 merged commit 2233eac into tensorflow:master Jul 25, 2022
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.

4 participants