Repository navigation
move expect message to a separate section with more explanation - #13071
ShahakShama wants to merge 1 commit into
Conversation
ShahakShama
left a comment
There was a problem hiding this comment.
+r:@Stavbe
@ShahakShama made 1 comment.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on Stavbe).
Stavbe
left a comment
There was a problem hiding this comment.
@Stavbe made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on ShahakShama).
style.md line 120 at r1 (raw file):
// GOOD // This message is written for the code reader, and explains why the error should never happen. std::env::var("IMPORTANT_PATH").expect("set by wrapper_script.sh at startup");
IMPORTANT_PATH should have been set by .....
Code quote:
"set by wrapper_script.sh at startup"c62d8ba to
1f35815
Compare
77da371 to
0b17fa7
Compare
1f35815 to
f4a24a4
Compare
ShahakShama
left a comment
There was a problem hiding this comment.
@ShahakShama made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on Stavbe).
style.md line 120 at r1 (raw file):
Previously, Stavbe wrote…
IMPORTANT_PATH should have been set by .....
This is intended. Explained above
f4a24a4 to
ddb96e3
Compare
0b17fa7 to
e8dfc47
Compare
Stavbe
left a comment
There was a problem hiding this comment.
@Stavbe reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ShahakShama).
e8dfc47 to
eec3e09
Compare
ddb96e3 to
a068c16
Compare
a068c16 to
110cd94
Compare
110cd94 to
2744957
Compare
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |

Note
Low Risk
Low risk documentation-only change; no code behavior or APIs are modified.
Overview
Updates
style.mdto add a dedicatedexpectmessage section explaining how to write invariant-focusedexpect(...)strings, with revised BAD/GOOD examples.Removes the older, more boilerplate
expectguidance from the Assertions section so the rule is centralized and more detailed.Written by Cursor Bugbot for commit ddb96e3. This will update automatically on new commits. Configure here.