File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
store/test-store/tests/postgres Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -914,9 +914,9 @@ impl Entity {
914914 /// i64 it panics.
915915 pub fn vid ( & self ) -> i64 {
916916 self . get ( VID_FIELD )
917- . expect ( "the vid is set" )
917+ . expect ( "the vid must be set" )
918918 . as_int8 ( )
919- . expect ( "the vid is set to a valid value" )
919+ . expect ( "the vid must be set to a valid value" )
920920 }
921921
922922 /// Sets the VID of the entity. The previous one is returned.
Original file line number Diff line number Diff line change @@ -778,7 +778,8 @@ fn enum_arrays() {
778778 let spectrum = entity ! { THINGS_SCHEMA =>
779779 id: "rainbow" ,
780780 main: "yellow" ,
781- all: vec![ "yellow" , "red" , "BLUE" ]
781+ all: vec![ "yellow" , "red" , "BLUE" ] ,
782+ vid: 0i64
782783 } ;
783784
784785 insert_entity (
You can’t perform that action at this time.
0 commit comments