@@ -385,7 +385,6 @@ read(Path, Opts) ->
385385% % @doc List all of the subpaths of a given path and return a map of keys and
386386% % links to the subpaths, including their types.
387387store_read (_Path , no_viable_store , _ ) ->
388- erlang :display (" NO_VIABLE_STORE" ),
389388 not_found ;
390389store_read (Path , Store , Opts ) ->
391390 ResolvedFullPath = hb_store :resolve (Store , PathBin = hb_path :to_binary (Path )),
@@ -395,16 +394,12 @@ store_read(Path, Store, Opts) ->
395394 {store , Store }
396395 }),
397396 case hb_store :type (Store , ResolvedFullPath ) of
398- not_found ->
399- erlang :display ({type_not_found , {resolved_full_path , ResolvedFullPath }}),
400- not_found ;
397+ not_found -> not_found ;
401398 simple ->
402399 ? event ({reading_data , ResolvedFullPath }),
403400 case hb_store :read (Store , ResolvedFullPath ) of
404401 {ok , Bin } -> {ok , Bin };
405- not_found ->
406- erlang :display (" NOT FOUND" ),
407- not_found
402+ not_found -> not_found
408403 end ;
409404 composite ->
410405 ? event ({reading_composite , ResolvedFullPath }),
@@ -888,9 +883,7 @@ test_message_with_list(Store) ->
888883 {ok , RetrievedItem } = read (Path , Opts ),
889884 ? assert (hb_message :match (Msg , RetrievedItem , strict , Opts )).
890885
891- test_match_message (Store ) when map_get (<<" store-module" >>, Store ) =/= hb_store_lmdb ->
892- Module = map_get (<<" store-module" >>, Store ),
893- ? event ({test_skip , {module , Module }}),
886+ test_match_message (Store ) when map_get (<<" store-module" >>, Store ) =/= hb_store_lmdb ->
894887 skip ;
895888test_match_message (Store ) ->
896889 hb_store :reset (Store ),
@@ -918,8 +911,6 @@ test_match_message(Store) ->
918911 ? assertEqual ([ID2b ], MatchedItems2 ).
919912
920913test_match_linked_message (Store ) when map_get (<<" store-module" >>, Store ) =/= hb_store_lmdb ->
921- Module = map_get (<<" store-module" >>, Store ),
922- ? event ({test_skip , {module , Module }}),
923914 skip ;
924915test_match_linked_message (Store ) ->
925916 hb_store :reset (Store ),
@@ -937,8 +928,6 @@ test_match_linked_message(Store) ->
937928 ? assertEqual (#{ <<" a" >> => Inner }, ensure_all_loaded (Read2 , Opts )).
938929
939930test_match_typed_message (Store ) when map_get (<<" store-module" >>, Store ) =/= hb_store_lmdb ->
940- Module = map_get (<<" store-module" >>, Store ),
941- ? event ({test_skip , {module , Module }}),
942931 skip ;
943932test_match_typed_message (Store ) ->
944933 hb_store :reset (Store ),
@@ -994,4 +983,4 @@ test_device_map_cannot_be_written_test() ->
994983% % @doc Run a specific test with a given store module.
995984run_test () ->
996985 Store = hb_test_utils :test_store (hb_store_lmdb ),
997- test_match_message (Store ).
986+ test_match_message (Store ).
0 commit comments