diff options
author | Jed Barber <jjbarber@y7mail.com> | 2019-01-08 00:13:02 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2019-01-08 00:13:02 +1100 |
commit | bc7a4ad484dd248b35b01dbf3e86afc9d1533000 (patch) | |
tree | e7fcbb2a6aa813c30545d7cfe9c4b4923974831a /test | |
parent | 6f767eb4b27c4e15ca6c3be3b93ca187caf95bd9 (diff) |
Packrat.Util basic predicates now work
Diffstat (limited to 'test')
-rw-r--r-- | test/ratnest-tests.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ratnest-tests.adb b/test/ratnest-tests.adb index dd2228f..2479998 100644 --- a/test/ratnest-tests.adb +++ b/test/ratnest-tests.adb @@ -226,12 +226,12 @@ package body Ratnest.Tests is return Test_Result is begin for I in Integer range Character'Pos (Character'First) .. 127 loop - if PU.Is_ASCII (Character'Val (I)) then + if PU.Is_Extended_ASCII (Character'Val (I)) then return Failure; end if; end loop; for I in Integer range 128 .. Character'Pos (Character'Last) loop - if not PU.Is_ASCII (Character'Val (I)) then + if not PU.Is_Extended_ASCII (Character'Val (I)) then return Failure; end if; end loop; |