Skip to content

Commit 7a18a06

Browse files
Michael Thomasmeta-codesync[bot]
authored andcommitted
Fix test output
Summary: Fixes expected test output Reviewed By: andrewjkennedy Differential Revision: D90165299 fbshipit-source-id: 1882bd3a6b6fe4b6cd5960874c1a4adf1bb84efd
1 parent 14d7af5 commit 7a18a06

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
ERROR: File "typed_printf.php", line 43, characters 31-38:
2+
Invalid argument (Typing[4110])
3+
File "typed_printf.php", line 43, characters 12-28:
4+
Expected `int` because of the `%d` format specifier
5+
File "typed_printf.php", line 43, characters 34-38:
6+
But got `bool`
7+
ERROR: File "typed_printf.php", line 43, characters 31-38:
8+
Invalid argument (Typing[4110])
9+
File "typed_printf.php", line 43, characters 12-28:
10+
Expected `string` because of the `%s` format specifier
11+
File "typed_printf.php", line 43, characters 31-31:
12+
But got `int`
13+
ERROR: File "typed_printf.php", line 44, characters 31-33:
14+
Invalid argument (Typing[4110])
15+
File "typed_printf.php", line 44, characters 12-28:
16+
Expected `(string, int)`
17+
File "typed_printf.php", line 44, characters 31-33:
18+
But got `(string)`
19+
ERROR: File "typed_printf.php", line 48, characters 38-45:
20+
Invalid argument (Typing[4110])
21+
File "typed_printf.php", line 48, characters 19-35:
22+
Expected `int` because of the `%d` format specifier
23+
File "typed_printf.php", line 48, characters 41-45:
24+
But got `bool`
25+
ERROR: File "typed_printf.php", line 48, characters 38-45:
26+
Invalid argument (Typing[4110])
27+
File "typed_printf.php", line 48, characters 19-35:
28+
Expected `string` because of the `%s` format specifier
29+
File "typed_printf.php", line 48, characters 38-38:
30+
But got `int`
31+
ERROR: File "typed_printf.php", line 49, characters 38-40:
32+
Invalid argument (Typing[4110])
33+
File "typed_printf.php", line 49, characters 19-35:
34+
Expected `(string, int)`
35+
File "typed_printf.php", line 49, characters 38-40:
36+
But got `(string)`
37+
ERROR: File "typed_printf.php", line 53, characters 3-54:
38+
Typing error (Typing[4040])
39+
File "typed_printf.php", line 21, characters 19-30:
40+
Too few positional arguments (required 4 but got 3)
41+
File "typed_printf.php", line 53, characters 3-54:
42+
Because of this definition
43+
ERROR: File "typed_printf.php", line 53, characters 26-42:
44+
Invalid argument (Typing[4110])
45+
File "typed_printf.php", line 23, characters 15-41:
46+
Expected `HH\TypedFormatString<I, _>`
47+
File "typed_printf.php", line 53, characters 26-42:
48+
But got `string`
49+
ERROR: File "typed_printf.php", line 54, characters 3-53:
50+
Typing error (Typing[4040])
51+
File "typed_printf.php", line 21, characters 19-30:
52+
Too few positional arguments (required 4 but got 3)
53+
File "typed_printf.php", line 54, characters 3-53:
54+
Because of this definition
55+
ERROR: File "typed_printf.php", line 54, characters 26-42:
56+
Invalid argument (Typing[4110])
57+
File "typed_printf.php", line 23, characters 15-41:
58+
Expected `HH\TypedFormatString<I, _>`
59+
File "typed_printf.php", line 54, characters 26-42:
60+
But got `string`
61+
ERROR: File "typed_printf.php", line 55, characters 26-42:
62+
Invalid argument (Typing[4110])
63+
File "typed_printf.php", line 23, characters 15-41:
64+
Expected `HH\TypedFormatString<I, _>`
65+
File "typed_printf.php", line 55, characters 26-42:
66+
But got `string`
67+
ERROR: File "typed_printf.php", line 61, characters 15-25:
68+
Invalid argument (Typing[4110])
69+
File "printf.hhi", line 54, characters 31-35:
70+
Expected `float`
71+
File "typed_printf.php", line 61, characters 24-25:
72+
But got `int`
73+
ERROR: File "typed_printf.php", line 62, characters 15-16:
74+
Invalid argument (Typing[4110])
75+
File "typed_printf.php", line 60, characters 27-57:
76+
Expected `(?arraykey, mixed, ?float)`
77+
File "typed_printf.php", line 60, characters 27-57:
78+
This type argument to `HH\TypedFormatString` must match exactly (it is invariant)
79+
File "typed_printf.php", line 37, characters 39-40:
80+
via this generic `Ta`
81+
File "typed_printf.php", line 62, characters 15-16:
82+
But got `(int)`
83+
ERROR: File "typed_printf.php", line 68, characters 17-26:
84+
Invalid argument (Typing[4110])
85+
File "typed_printf.php", line 66, characters 30-40:
86+
Expected `string` because of the `%s` format specifier
87+
File "typed_printf.php", line 68, characters 17-21:
88+
But got `bool`
89+
ERROR: File "typed_printf.php", line 68, characters 17-26:
90+
Invalid argument (Typing[4110])
91+
File "typed_printf.php", line 66, characters 42-54:
92+
Expected `int` because of the `%d` format specifier
93+
File "typed_printf.php", line 68, characters 24-26:
94+
But got `float`
95+
ERROR: File "typed_printf.php", line 72, characters 12-19:
96+
Invalid format string `%` in `"Test %"` (Typing[4038])
97+
File "typed_printf.php", line 10, characters 24-24:
98+
You can add a new format specifier by adding `format_eof()` to `I`
99+
ERROR: File "typed_printf.php", line 72, characters 26-30:
100+
Invalid argument (Typing[4110])
101+
File "typed_printf.php", line 72, characters 12-23:
102+
Expected `()` because this is the result of a concatenation
103+
File "typed_printf.php", line 72, characters 26-30:
104+
But got `(string)`

0 commit comments

Comments
 (0)