@@ -66,7 +66,7 @@ fn test_parse_ntriples_basic() {
6666 } ;
6767
6868 let storage = create_test_storage ( & test_dir) . unwrap ( ) ;
69- let bus = StreamBus :: new ( config, storage) ;
69+ let _bus = StreamBus :: new ( config, storage) ;
7070
7171 let line = "<http://example.org/sensor1> <http://example.org/temperature> \" 23.5\" <http://example.org/graph1> ." ;
7272 let event = rdf_parser:: parse_rdf_line ( line, true ) ;
@@ -97,7 +97,7 @@ fn test_parse_ntriples_without_graph() {
9797 } ;
9898
9999 let storage = create_test_storage ( & test_dir) . unwrap ( ) ;
100- let bus = StreamBus :: new ( config, storage) ;
100+ let _bus = StreamBus :: new ( config, storage) ;
101101
102102 let line = "<http://example.org/alice> <http://example.org/knows> <http://example.org/bob> ." ;
103103 let event = rdf_parser:: parse_rdf_line ( line, true ) ;
@@ -128,7 +128,7 @@ fn test_parse_invalid_rdf_line() {
128128 } ;
129129
130130 let storage = create_test_storage ( & test_dir) . unwrap ( ) ;
131- let bus = StreamBus :: new ( config, storage) ;
131+ let _bus = StreamBus :: new ( config, storage) ;
132132
133133 let invalid_line = "<http://example.org/subject> <http://example.org/predicate>" ;
134134 let result = rdf_parser:: parse_rdf_line ( invalid_line, true ) ;
@@ -380,7 +380,7 @@ fn test_timestamp_parsing() {
380380 } ;
381381
382382 let storage = create_test_storage ( & test_dir) . unwrap ( ) ;
383- let bus_with_ts = StreamBus :: new ( config_with_timestamps, Arc :: clone ( & storage) ) ;
383+ let _bus_with_ts = StreamBus :: new ( config_with_timestamps, Arc :: clone ( & storage) ) ;
384384
385385 let line = "<http://example.org/sensor1> <http://example.org/temperature> \" 23.5\" <http://example.org/graph1> ." ;
386386 let event = rdf_parser:: parse_rdf_line ( line, true ) . unwrap ( ) ;
@@ -397,7 +397,7 @@ fn test_timestamp_parsing() {
397397 mqtt_config : None ,
398398 } ;
399399
400- let bus_without_ts = StreamBus :: new ( config_without_timestamps, storage) ;
400+ let _bus_without_ts = StreamBus :: new ( config_without_timestamps, storage) ;
401401
402402 let line_with_ts = "1234567890 <http://example.org/sensor1> <http://example.org/ts> \" value\" <http://example.org/graph1> ." ;
403403 let event = rdf_parser:: parse_rdf_line ( line_with_ts, false ) . unwrap ( ) ;
0 commit comments