Revert "jquery.byteLimit: Partial rewrite to fix logic errors"
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.byteLength.test.js
index 60d0092..15fac69 100644 (file)
@@ -5,7 +5,7 @@ test( '-- Initial check', function() {
        ok( $.byteLength, 'jQuery.byteLength defined' );
 } );
 
-test( 'Simple text', function () {
+test( 'Simple text', function() {
        expect(5);
 
        var     azLc = 'abcdefghijklmnopqrstuvwxyz',
@@ -22,7 +22,7 @@ test( 'Simple text', function () {
 
 } );
 
-test( 'Special text', function () {
+test( 'Special text', window.foo = function() {
        expect(5);
 
        // http://en.wikipedia.org/wiki/UTF-8