Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

test($compile): add test for alternative syntax to get controllers from ancestors #9390

Closed
wants to merge 1 commit into from
Closed

test($compile): add test for alternative syntax to get controllers from ancestors #9390

wants to merge 1 commit into from

Conversation

kentcdodds
Copy link

Because the regex that tests the require value will match more than just ^^?,
it is important to test other common ways to specify a controller requirement
to ensure that a breaking change isn't introduced inadvertently. This adds a test
for ?^^.

Closes #9389

…om ancestors

Because the regex that tests the `require` value will match more than just `^^?`,
it is important to test other common ways to specify a controller requirement
to ensure that a breaking change isn't introduced inadvertently. This adds a test
for `?^^`.

Closes #9389
@kentcdodds
Copy link
Author

Here's the PR for adding that test @caitp :-)

@caitp
Copy link
Contributor

caitp commented Oct 2, 2014

Thanks, it looks good to me. It might also be good to add another one for the single "^" following the ?, but I don't think it should block landing this

@kentcdodds
Copy link
Author

Good idea, I'll create another PR for that.

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.

Add test for other ways to specify required controller from ancestors
2 participants