Browse Source

* bug fix in test taddbool.pp - it was testing longbool conversion to boolean
twice, and not testing wordbool conversion to boolean at all

Nikolay Nikolov 3 years ago
parent
commit
9aefda1e6a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/test/cg/taddbool.pp

+ 2 - 2
tests/test/cg/taddbool.pp

@@ -881,8 +881,8 @@ Begin
    Fail;
  Write('wordbool conversion to boolean...');
  result := TRUE;
- move(values,lb1,sizeof(lb1));
- if lb1 <> TRUE then
+ move(values,wb1,sizeof(wb1));
+ if wb1 <> TRUE then
     result := false;
  if result then
     WriteLn('Success.')