Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@psteiger
Copy link
Contributor

@psteiger psteiger commented Nov 9, 2023

We don't need crossinline for testBody. Usage of cross-inline makes suspend functions non-callable in the test body, which forbids patterns like:

test(worker) {
  sharedFlow.emit(someValue)
  // assert worker processed it
}

We don't need `crossinline` for `testBody`. Usage of cross-inline makes suspend functions non-callable in the test body, which forbids patterns like:
```
test(worker) {
  sharedFlow.emit(someValue)
  // assert worker processed it
}
```
@FranAguilera FranAguilera self-requested a review November 9, 2023 17:45
@psteiger psteiger merged commit cbd11f7 into uber:main Nov 9, 2023
@psteiger psteiger deleted the test-worker-inline branch November 9, 2023 19:54
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.

2 participants