Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.Title.js |
— | — | @@ -120,10 +120,8 @@ |
121 | 121 | _titleConfig(); |
122 | 122 | |
123 | 123 | raises(function() { |
124 | | - |
125 | 124 | var title = new mw.Title( '' ); |
126 | | - |
127 | | - }, new RegExp( $.escapeRE( 'Could not parse title' ) ), 'Throw error "Could not parse title" on empty string' ); |
| 125 | + }, 'Throw error on empty string' ); |
128 | 126 | }); |
129 | 127 | |
130 | 128 | test( 'Case-sensivity', function() { |