|
12 | 12 | function foo(string $s): void |
13 | 13 | { |
14 | 14 | assertType('non-empty-string', str_decrement($s)); |
15 | | - assertType('*ERROR*', str_decrement('')); |
16 | | - assertType('*ERROR*', str_decrement('0')); |
17 | | - assertType('*ERROR*', str_decrement('0.0')); |
18 | | - assertType('*ERROR*', str_decrement('1.0')); |
19 | | - assertType('*ERROR*', str_decrement('a')); |
20 | | - assertType('*ERROR*', str_decrement('A')); |
21 | | - assertType('*ERROR*', str_decrement('=')); |
22 | | - assertType('*ERROR*', str_decrement('字')); |
| 15 | + assertType('*NEVER*', str_decrement('')); |
| 16 | + assertType('*NEVER*', str_decrement('0')); |
| 17 | + assertType('*NEVER*', str_decrement('0.0')); |
| 18 | + assertType('*NEVER*', str_decrement('1.0')); |
| 19 | + assertType('*NEVER*', str_decrement('a')); |
| 20 | + assertType('*NEVER*', str_decrement('A')); |
| 21 | + assertType('*NEVER*', str_decrement('=')); |
| 22 | + assertType('*NEVER*', str_decrement('字')); |
23 | 23 | assertType("'0'", str_decrement('1')); |
24 | 24 | assertType("'8'", str_decrement('9')); |
25 | 25 | assertType("'9'", str_decrement('10')); |
|
0 commit comments