Skip to content

Commit

Permalink
add tests for abstract, annote, genre
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Sep 28, 2024
1 parent 8fcfab7 commit a51c75e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,11 @@ mod tests {
"barb",
]
);
select_all!(
"*[abstract, annote, genre]",
entries,
["wire"]
);
}

#[test]
Expand Down
3 changes: 3 additions & 0 deletions tests/data/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ wire:
date: 2002
publisher: Blown Deadline Productions
volume-total: 5
abstract: Video about wire
annote: The wire is noted to be solid
genre: Important video
affiliated:
- role: executive-producer
names: ["Simon, David", "Colesberry, Robert F.", "Noble, Nina Kostroff"]
Expand Down

0 comments on commit a51c75e

Please sign in to comment.