Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame^] | 1 | slang: modify array test |
| 2 | |
| 3 | One array test tries to create an array that is far too large and anticipates an exception. |
| 4 | IndexError will only be thrown for 64 bit machines, so we add InvalidParmError for 32 bit ones. |
| 5 | |
| 6 | Upstream-Status: Submitted [jedsoft.org] |
| 7 | |
| 8 | Signed-off-by: Joe Slater <joe.slater@windriver.com> |
| 9 | |
| 10 | --- a/src/test/array.sl |
| 11 | +++ b/src/test/array.sl |
| 12 | @@ -165,7 +165,7 @@ try |
| 13 | { |
| 14 | SS = Long_Type[10000,10000,10000,10000,10000,10000]; |
| 15 | } |
| 16 | -catch IndexError; |
| 17 | +catch IndexError,InvalidParmError; |
| 18 | |
| 19 | private define array_map2_func () |
| 20 | { |