Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Use strictEqual rather than equal
authorjaubourg <j@ubourg.net>
Tue, 27 Nov 2012 01:38:20 +0000 (02:38 +0100)
committerjaubourg <j@ubourg.net>
Tue, 27 Nov 2012 01:38:20 +0000 (02:38 +0100)
test/unit/ajax.js

index 4bb9c55..e6da045 100644 (file)
@@ -1924,8 +1924,8 @@ module( "ajax", {
                                },
                                function( xml ) {
                                        jQuery( "math", xml ).each(function() {
-                                               equal( jQuery( "calculation", this ).text(), "5-2", "Check for XML" );
-                                               equal( jQuery( "result", this ).text(), "3", "Check for XML" );
+                                               strictEqual( jQuery( "calculation", this ).text(), "5-2", "Check for XML" );
+                                               strictEqual( jQuery( "result", this ).text(), "3", "Check for XML" );
                                        });
                                }
                        ),

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf