From cd5cf1b9f7a50cd3c2f2a42b4a0b3743a5c31d7e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Jan 2019 14:48:39 -0800 Subject: fix expandflag test (for editors) --- rust/src/entity_crud.rs | 7 ++++--- 1 file 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, -- cgit v1.2.3