Skip to content

Commit

Permalink
Add test for exports.
Browse files Browse the repository at this point in the history
Test against underscore functions.
  • Loading branch information
Christina Roberts committed Feb 20, 2016
1 parent 93dffd5 commit b077851
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/exports.js
@@ -0,0 +1,9 @@
var _ = require('underscore');
var deepEqual = require('assert').deepEqual;
var s = require('../dist/underscore.string');

test('#exports', function() {
deepEqual(_.intersection(Object.keys(s.exports()), _.functions(_)), [],
"Conflicts exist between exports and underscore functions"
);
});

0 comments on commit b077851

Please sign in to comment.