Changeset 1899 for trunk


Ignore:
Timestamp:
2011-04-19 12:11:15 (13 months ago)
Author:
mpo
Message:

completing r1896
fail() doesn't exist, one should ok(false)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/test/kauri.forms/testPage.html

    r1896 r1899  
    6060    function sameJq(first, second, msg) { 
    6161        if (first == null || second == null || first.length != second.length) 
    62             fail(msg); 
     62            ok(false, msg); 
    6363        for (var i=0; i<first.length; i++) 
    6464            if (first.get(i) != second.get(i)) 
    65                 fail(msg + " -- not same @index=" + i); 
     65                ok(false, msg + " -- not same @index=" + i); 
    6666        ok(true, msg); 
    6767    }; 
Note: See TracChangeset for help on using the changeset viewer.