Skip to main content

samples

Function samples 

Source
pub fn samples() -> BTreeMap<String, PullRequest>
Expand description

The six pull requests this example is demonstrated on, by request identifier.

The same six rules.fixtures declares in Cove, written again in Rust because in a real embedding they arrive from the application. That they are written twice is a hazard, so a test asserts the two agree: the decision reached over the host’s copy of a pull request and the decision reached over the package’s own have to be the same decision.