Merge "mw.jqueryMsg: Add tests for non-string parameters to functions that expect...
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.getAttrs.test.js
index ca3f418..ae464f0 100644 (file)
@@ -1,14 +1,14 @@
-( function ( $ ) {
+( function () {
        QUnit.module( 'jquery.getAttrs', QUnit.newMwEnvironment() );
 
-       QUnit.test( 'getAttrs()', 1, function ( assert ) {
+       QUnit.test( 'getAttrs()', function ( assert ) {
                var attrs = {
                                foo: 'bar',
-                               'class': 'lorem',
+                               class: 'lorem',
                                'data-foo': 'data value'
                        },
                        $el = $( '<div>' ).attr( attrs );
 
                assert.propEqual( $el.getAttrs(), attrs, 'keys and values match' );
        } );
-}( jQuery ) );
+}() );