Posted on 2005-09-07 14:31:06-07 by alexmc
03-runtime.t error
I am getting this single error in the Alzabo MySQL tests.
# Failed test (t/03-runtime.t at line 1601)
# got: '999991'
# expected: '999993'
Does anyone know where this fault lies? The test line is
is( $rows[-1]->select('employee_id'), 999993,
"Last row should be id 999993" );

Looking at the test it is trying to say that record 999993 is the last record ordered by smell....
| 999991 | OB1 | worse | NULL | NULL | NULL | 1 |
| 999992 | OB2 | bad | NULL | NULL | NULL | 1 |
| 999993 | OB2 | worse | NULL | NULL | NULL | 1 |
| So why should it be 999993 and not 999991. Seems like a bad test to me. Can anyone confirm this?
Direct Responses: 969 | Write a response
Posted on 2005-09-07 18:57:53-07 by alexmc in response to 965
Re: 03-runtime.t error
OK, it looks like the test is bad. It may work with different versions of MySQL.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.