mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-10-22 18:57:14 +00:00
0.3.1, properly — the version, and the test that names the first register
The commit that reordered the chain did not carry the version bump. The bump was chained after check.sh with &&, the commit after a semicolon, so a failing check skipped the bump and let the commit through. The tag then pointed at a tree still calling itself 0.3.0, which the release workflow asserts against and would have refused. check.sh was failing because a test names which register is asked first about an ISBN, which is exactly what changed. It now names the index, for the reason the reorder happened.
This commit is contained in:
@@ -446,7 +446,10 @@ mod tests {
|
||||
fn each_kind_goes_to_the_body_that_assigns_it() {
|
||||
assert_eq!(Source::for_kind("doi"), Some(Source::Crossref));
|
||||
assert_eq!(Source::for_kind("arxiv"), Some(Source::Arxiv));
|
||||
assert_eq!(Source::for_kind("isbn"), Some(Source::OpenLibrary));
|
||||
// The index, not the edition record: it answers with the whole of
|
||||
// what a catalogue wants in one request, where the edition record
|
||||
// takes up to twenty-eight seconds and names its authors by key.
|
||||
assert_eq!(Source::for_kind("isbn"), Some(Source::OpenLibrarySearch));
|
||||
// No register answers about an ISSN without a key.
|
||||
assert_eq!(Source::for_kind("issn"), None);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user