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 test for RTE6a #746

Merged
merged 2 commits into from
Jul 25, 2018
Merged

Add test for RTE6a #746

merged 2 commits into from
Jul 25, 2018

Conversation

funkyboy
Copy link
Contributor

(RTE6a) The set of listeners called by emit must not change over the course of the emit. That is: If a listener being called by emit registers another listener, that second listener should not be called by that invocation of emit (even if it would have been called had it already been present); and if a listener being called by emit removes other listeners, but those other listeners would otherwise have been called during that emit invocation, they should still be called. Tests should exist for both adding and removing. See https://goo.gl/OVTtjO

context("set of listeners") {

// RTE6a
fit("should not change over the course of the emit") {
Copy link
Contributor

Choose a reason for hiding this comment

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

fit -> it

@funkyboy
Copy link
Contributor Author

@ricardopereira good catch. Fixed here 2e9a004

@funkyboy funkyboy merged commit 203fd63 into develop Jul 25, 2018
@funkyboy funkyboy deleted the add-RTE6a-test branch July 25, 2018 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants