Skip to content

Conversation

@btford
Copy link
Contributor

@btford btford commented Aug 18, 2015

I don't think this change needs a test– this method itself is already called as a part of other tests, and the behavior of the subscription object returned doesn't need to be tested here.

Closes #3491

@btford btford added this to the alpha-36 milestone Aug 18, 2015
@btford btford added the action: review The PR is still awaiting reviews from at least one requested reviewer label Aug 18, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM but should you add a test ?

edit: I have just seen your initial comment: "this method itself is already called as a part of other tests". May be we should have an effective test then (ie one that would fail w/o this update).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I chatted with @IgorMinar and we came up with a suitable effective test.

@btford
Copy link
Contributor Author

btford commented Aug 18, 2015

Sent to presubmit 🍰

@btford btford added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 18, 2015
@mary-poppins
Copy link

User @btford is an outstanding citizen.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Aug 18, 2015
@btford btford closed this in 5c95b37 Aug 19, 2015
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Router.subscribe should return StreamSubscription instance

4 participants