Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.js |
— | — | @@ -173,6 +173,18 @@ |
174 | 174 | |
175 | 175 | }); |
176 | 176 | |
| 177 | +test( 'mw.loader.bug29107' , function() { |
| 178 | + expect( 1 ); |
| 179 | + |
| 180 | + mw.loader.implement( 'bug29107.messages-only', [], {}, {'bug29107': 'loaded'} ); |
| 181 | + mw.loader.using( 'bug29107.messages-only', function() { |
| 182 | + ok( mw.messages.exists( 'bug29107' ), 'Bug 29107: messages-only module should load ok' ); |
| 183 | + }, function(){ |
| 184 | + start(); |
| 185 | + deepEqual( true, false, 'Implementing a module, error callback fired!' ); |
| 186 | + }); |
| 187 | +}); |
| 188 | + |
177 | 189 | test( 'mw.html', function(){ |
178 | 190 | |
179 | 191 | equal( mw.html.escape( '<mw awesome="awesome" value=\'test\' />' ), |