aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 14:48:39 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 14:48:39 -0800
commitcd5cf1b9f7a50cd3c2f2a42b4a0b3743a5c31d7e (patch)
tree186f8d2ff0e82a2d4605b841ca887af2049886e0 /rust
parenta1b1f0e6cb59aee71661c2dbd80245eb7ac81ac9 (diff)
downloadfatcat-cd5cf1b9f7a50cd3c2f2a42b4a0b3743a5c31d7e.tar.gz
fatcat-cd5cf1b9f7a50cd3c2f2a42b4a0b3743a5c31d7e.zip
fix expandflag test (for editors)
Diffstat (limited to 'rust')
-rw-r--r--rust/src/entity_crud.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index e54973da..2c54e715 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -170,9 +170,10 @@ fn test_expand_flags() {
assert!(ExpandFlags::from_str("files").unwrap().files == true);
assert!(ExpandFlags::from_str("something,,files").unwrap().files == true);
assert!(ExpandFlags::from_str("file").unwrap().files == false);
- let all =
- ExpandFlags::from_str("files,container,other_thing,releases,creators,filesets,webcaptures")
- .unwrap();
+ let all = ExpandFlags::from_str(
+ "files,container,other_thing,releases,creators,editors,filesets,webcaptures",
+ )
+ .unwrap();
assert!(
all == ExpandFlags {
files: true,