Skip to content

Commit aab56d0

Browse files
luisleo526claude
andcommitted
tests: give the 16 ownership expectations a code the driver accepts (CR-139)
Sixteen expect.json files carried "code": "", which the driver rejects before running anything (completed needs null; failed and compile_refused need a nonempty code), so those probes never ran and proof B could not pass. The values come from the contract, not from an observation: the ten completed controls take null (tests/ownership/README.md:77), and the six *_unconstructible compile refusals take PF-E0036, the stable code codegen exposes for a numeric literal outside the generated C++ range (README:92-93), traced from the lexer to diagnostics_catalog.json. Nothing else in any expectation, the driver or a probe changes. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent 39d6fa1 commit aab56d0

16 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎tests/ownership/probes/decl/control_computed_declarations/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "completed",
3-
"code": "",
3+
"code": null,
44
"args": {},
55
"min_trades": 1,
66
"label": "control",

‎tests/ownership/probes/decl/control_finite_declarations/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "completed",
3-
"code": "",
3+
"code": null,
44
"args": {},
55
"min_trades": 1,
66
"label": "control",

‎tests/ownership/probes/decl/control_na_declarations/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "completed",
3-
"code": "",
3+
"code": null,
44
"args": {},
55
"min_trades": 1,
66
"label": "control",

‎tests/ownership/probes/decl/control_nonpositive_margins/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "completed",
3-
"code": "",
3+
"code": null,
44
"args": {},
55
"min_trades": 1,
66
"label": "control",

‎tests/ownership/probes/decl/control_omitted/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "completed",
3-
"code": "",
3+
"code": null,
44
"args": {},
55
"min_trades": 1,
66
"label": "control",

‎tests/ownership/probes/decl/s_default_qty_value_neg_inf_unconstructible/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "compile_refused",
3-
"code": "",
3+
"code": "PF-E0036",
44
"args": {},
55
"min_trades": 0,
66
"label": "S",

‎tests/ownership/probes/decl/s_default_qty_value_pos_inf_unconstructible/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "compile_refused",
3-
"code": "",
3+
"code": "PF-E0036",
44
"args": {},
55
"min_trades": 0,
66
"label": "S",

‎tests/ownership/probes/decl/s_margin_long_neg_inf_unconstructible/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "compile_refused",
3-
"code": "",
3+
"code": "PF-E0036",
44
"args": {},
55
"min_trades": 0,
66
"label": "S",

‎tests/ownership/probes/decl/s_margin_long_pos_inf_unconstructible/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "compile_refused",
3-
"code": "",
3+
"code": "PF-E0036",
44
"args": {},
55
"min_trades": 0,
66
"label": "S",

‎tests/ownership/probes/decl/s_margin_short_neg_inf_unconstructible/expect.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"outcome": "compile_refused",
3-
"code": "",
3+
"code": "PF-E0036",
44
"args": {},
55
"min_trades": 0,
66
"label": "S",

0 commit comments

Comments
 (0)