Skip to content

Commit

Permalink
Merge branch 'dev-master' into dev-3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tripp committed Sep 16, 2014
2 parents 1fa12ad + a513932 commit 61fe90c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/loader/tests/unit/assets/loader-tests.js
Expand Up @@ -334,6 +334,27 @@ YUI.add('loader-tests', function(Y) {
Assert.isArray(url.match(/3.5.0\/foogg\/foogg-min\.js/), 'Group match should be combo-loaded with the default URL');
Assert.isArray(url.match(/3.5.0\/cookie\/cookie-min\.js/), 'Default match should combo-load with the group result');
},
'test inherited combine false with groups': function () {
var loader = new testY.Loader({
combine: false,
groups: {
mods: {
modules: {
'mods-actioninfos': {
path: 'actioninfos/actioninfos.js'
},
'mods-test': {
path: 'test/test.js'
}
}
}
},
require: ['mods-actioninfos', 'mods-test']
});

var out = loader.resolve(true);
Assert.areEqual(2, out.js.length, 'The loader should not have combined the modules within the group.');
},
test_resolve_maxurl_length: function() {
var loader = new testY.Loader({
maxURLLength: 1024,
Expand Down

0 comments on commit 61fe90c

Please sign in to comment.