Searched refs:type_opt (Results 1 – 3 of 3) sorted by relevance
131 function assertThrows(code, type_opt, cause_opt) { argument141 if (typeof type_opt == 'function') {142 assertInstanceof(e, type_opt);
42 …type_opt, cause_opt) { var threwException = true; try { if (typeof code == 'function') { code(); }… argument
326 assertThrows = function assertThrows(code, type_opt, cause_opt) { argument336 if (typeof type_opt == 'function') {337 assertInstanceof(e, type_opt);