rem: do_check_neq(aItem, null); do_check_eq(aItem.version, aVersion); 
add: if (aItem == null) do_throw("Addon " + aAddonsEntry.id + " wasn't detected"); if (aItem.version != aVersion) do_throw("Addon " + aAddonsEntry.id + " was version " + aItem.version + " instead of " + aVersion); 
context: function do_check_item(aItem, aVersion, aAddonsEntry) {  if (aAddonsEntry.installed) {    do_check_neq(aItem, null);    do_check_eq(aItem.version, aVersion);  } else {    do_check_eq(aItem, null);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/04108e21db16abd3b711971086d8db26c4fac6d4/test_bug299716.js/buggy/toolkit/mozapps/extensions/test/unit/test_bug299716.js