diff --git a/test.php b/test.php index 05e6e6c5..7ba0b8ec 100644 --- a/test.php +++ b/test.php @@ -61,7 +61,7 @@ function passed() { function expect($cond,$text=NULL) { $out=(bool)$cond; if ($this->level==$out || $this->level==self::FLAG_Both) { - $data=array('status'=>$out,'text'=>$text,'source'=>NULL); + $data=array('status'=>$out,'text'=>$text,'source'=>NULL,'id'=>count($this->data)); foreach (debug_backtrace() as $frame) if (isset($frame['file'])) { $data['source']=Base::instance()->