resourceloader: Add tests to verify empty string works
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 17 Nov 2016 01:15:04 +0000 (17:15 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 17 Nov 2016 01:15:04 +0000 (17:15 -0800)
commit6f5cb7d42b8f936b5fb9b741087b7e1b6d7fa2ec
tree8706832969bd99c43853b59bc53408908bca1ea3
parent249ed2ffa8fe06367bf41a371107229b1becdb84
resourceloader: Add tests to verify empty string works

It's not explicitly supported anywhere, but I don't see a point in explicitly
disallowing it. Add unit tests to verify that this works.

Bug: T28804
Change-Id: I876ac43885bb27da54ef6e59b6416868ff636b84
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js