diff options
author | dmitrygusev <dmitry.gusev@gmail.com> | 2013-02-28 00:44:34 +0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-02-28 15:55:55 -0500 |
commit | a13cadadf6f164c4498af5e92c0819933573084a (patch) | |
tree | f41ef5ca1978d7cb1ab157bf04012d3cb4cd29b8 /test/unit/traversing.js | |
parent | 69b3d5ce0f081d3f113b2917495f35df160f8522 (diff) | |
download | jquery-a13cadadf6f164c4498af5e92c0819933573084a.tar.gz jquery-a13cadadf6f164c4498af5e92c0819933573084a.zip |
Fix typos. Close gh-1186.
Diffstat (limited to 'test/unit/traversing.js')
-rw-r--r-- | test/unit/traversing.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js index c0aee341b..e0dcd11c8 100644 --- a/test/unit/traversing.js +++ b/test/unit/traversing.js @@ -71,11 +71,11 @@ test("is(String|undefined)", function() { ok( !jQuery("#foo").is(undefined), "Expected false for an invalid expression - undefined" ); ok( !jQuery("#foo").is({ plain: "object" }), "Check passing invalid object" ); - // test is() with comma-seperated expressions - ok( jQuery("#en").is("[lang=\"en\"],[lang=\"de\"]"), "Comma-seperated; Check for lang attribute: Expect en or de" ); - ok( jQuery("#en").is("[lang=\"de\"],[lang=\"en\"]"), "Comma-seperated; Check for lang attribute: Expect en or de" ); - ok( jQuery("#en").is("[lang=\"en\"] , [lang=\"de\"]"), "Comma-seperated; Check for lang attribute: Expect en or de" ); - ok( jQuery("#en").is("[lang=\"de\"] , [lang=\"en\"]"), "Comma-seperated; Check for lang attribute: Expect en or de" ); + // test is() with comma-separated expressions + ok( jQuery("#en").is("[lang=\"en\"],[lang=\"de\"]"), "Comma-separated; Check for lang attribute: Expect en or de" ); + ok( jQuery("#en").is("[lang=\"de\"],[lang=\"en\"]"), "Comma-separated; Check for lang attribute: Expect en or de" ); + ok( jQuery("#en").is("[lang=\"en\"] , [lang=\"de\"]"), "Comma-separated; Check for lang attribute: Expect en or de" ); + ok( jQuery("#en").is("[lang=\"de\"] , [lang=\"en\"]"), "Comma-separated; Check for lang attribute: Expect en or de" ); }); test("is() against window|document (#10178)", function() { @@ -606,9 +606,9 @@ test("prevUntil([String])", function() { test("contents()", function() { expect(12); equal( jQuery("#ap").contents().length, 9, "Check element contents" ); - ok( jQuery("#iframe").contents()[0], "Check existance of IFrame document" ); + ok( jQuery("#iframe").contents()[0], "Check existence of IFrame document" ); var ibody = jQuery("#loadediframe").contents()[0].body; - ok( ibody, "Check existance of IFrame body" ); + ok( ibody, "Check existence of IFrame body" ); equal( jQuery("span", ibody).text(), "span text", "Find span in IFrame and check its text" ); |