Mirror of https://github.com/roostorg/osprey github.com/roostorg/osprey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add missing test files for string slice (#195)

authored by

Beals and committed by
GitHub
206ceeba 1b7ea8e5

+21
+5
osprey_worker/src/osprey/engine/stdlib/udfs/tests/test_strings/test_string_slice_validation[Result = StringSlice(s='abcdef', start=-1, end=3)].txt
··· 1 + error: invalid `start` 2 + --> main.sml:1:40 3 + | 4 + 1 | Result = StringSlice(s="abcdef", start=-1, end=3) 5 + | ^ `start` must be a non-negative integer
+11
osprey_worker/src/osprey/engine/stdlib/udfs/tests/test_strings/test_string_slice_validation[Result = StringSlice(s='abcdef', start=0, end=-1)].txt
··· 1 + 2 errors occurred while validating: 2 + [1/2] error: invalid `start` 3 + --> main.sml:1:39 4 + | 5 + 1 | Result = StringSlice(s="abcdef", start=0, end=-1) 6 + | ^ `start` must be less than or equal to `end` 7 + [2/2] error: invalid `end` 8 + --> main.sml:1:47 9 + | 10 + 1 | Result = StringSlice(s="abcdef", start=0, end=-1) 11 + | ^ `end` must be a non-negative integer
+5
osprey_worker/src/osprey/engine/stdlib/udfs/tests/test_strings/test_string_slice_validation[Result = StringSlice(s='abcdef', start=5, end=2)].txt
··· 1 + error: invalid `start` 2 + --> main.sml:1:39 3 + | 4 + 1 | Result = StringSlice(s="abcdef", start=5, end=2) 5 + | ^ `start` must be less than or equal to `end`