Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

test(symbols): Track the symbols we export from the angular library #769

Merged
merged 1 commit into from
Mar 20, 2014

Conversation

jbdeboer
Copy link
Contributor

Closes #398

it('should not export symbols that we do not know about', () {
_getSymbolsFromLibrary(String libraryName) {
var names = [];
var SYMBOL_NAME = new RegExp('"(.*)"');
Copy link
Contributor

Choose a reason for hiding this comment

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

are regexp greedy by default ? then you probably want .*? but [^"]* might be more efficient (backtracking)

@jbdeboer jbdeboer added cla: yes and removed cla: no labels Mar 19, 2014
@mhevery
Copy link
Contributor

mhevery commented Mar 20, 2014

I like this idea. We should merge this in. Could we add comments next to the imports which we believe should not be showing up?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

Limit the number of exported symbols from angular libraries
3 participants