You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04e3acb
Browse filesBrowse the repository at this point in the historyBrowse files
Extract the inline-expectation parser into its own module
`getAnExpectation` -- the low-level parse of a `// $ ...` expectation
comment -- lived as a private predicate inside `Make<Impl>`, reachable
only by that module's expectation classes. The upcoming `--learn`
postprocessing needs the same parse (to see every expectation on a
comment, including ones the running test ignores, so it can preserve
them), but it lives in `TestPostProcessing`, outside `Make`.
Move the predicate into a new top-level `private module
ExpectationParser<Impl>` that both consumers `private import`, so neither
has to expose the parse as part of its API nor reach into the other's
internals. This is a pure refactor: the predicate body and its callers'
behavior are unchanged.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1adfa307-c48e-43f5-94e3-8286e4a8c083
0 commit comments