@@ -57,9 +57,14 @@ public function positionalArgs($mixed, int $i, float $f, string $s, int $posInt,
5757 assertType ('non-falsy-string&numeric-string ' , sprintf ('%2$14s ' , $ mixed , $ posInt ));
5858 assertType ('non-falsy-string&numeric-string ' , sprintf ('%2$14s ' , $ mixed , $ negInt ));
5959 assertType ('numeric-string ' , sprintf ('%2$14s ' , $ mixed , $ intRange ));
60+ assertType ('non-falsy-string&numeric-string ' , sprintf ('%2$14s ' , $ mixed , $ nonZeroIntRange ));
61+
62+ assertType ("non-falsy-string " , sprintf ('%2$14s ' , $ mixed , 1 ));
6063 assertType ("non-falsy-string " , sprintf ('%2$14s ' , $ mixed , '1 ' ));
64+ assertType ("non-falsy-string " , sprintf ('%2$14s ' , $ mixed , 'abc ' ));
65+ assertType ("'1' " , sprintf ('%2$s ' , $ mixed , 1 ));
6166 assertType ("'1' " , sprintf ('%2$s ' , $ mixed , '1 ' ));
62- assertType (' non-falsy-string&numeric-string ' , sprintf ('%2$14s ' , $ mixed , $ nonZeroIntRange ));
67+ assertType (" 'abc' " , sprintf ('%2$s ' , $ mixed , ' abc ' ));
6368
6469 assertType ('numeric-string ' , sprintf ('%2$.14F ' , $ mixed , $ i ));
6570 assertType ('numeric-string ' , sprintf ('%2$.14F ' , $ mixed , $ f ));
0 commit comments