Browse Source

Fix tests after changing span logs

master
Alex Mikhalev 4 years ago
parent
commit
387cc42331
  1. 2
      src/program_runner.rs
  2. 2
      src/section_runner.rs

2
src/program_runner.rs

@ -438,7 +438,7 @@ mod test {
let task_span = SpanListener::new( let task_span = SpanListener::new(
SpanFilters::new() SpanFilters::new()
.target("sprinklers_rs::program_runner") .target("sprinklers_rs::program_runner")
.name("runner_task"), .name("program_runner::runner_task"),
); );
let subscriber = tracing_subscriber::registry() let subscriber = tracing_subscriber::registry()
.with(quit_msg.clone()) .with(quit_msg.clone())

2
src/section_runner.rs

@ -497,7 +497,7 @@ mod test {
let task_span = SpanListener::new( let task_span = SpanListener::new(
SpanFilters::new() SpanFilters::new()
.target("sprinklers_rs::section_runner") .target("sprinklers_rs::section_runner")
.name("runner_task"), .name("section_runner::runner_task"),
); );
let subscriber = tracing_subscriber::registry() let subscriber = tracing_subscriber::registry()
.with(quit_msg.clone()) .with(quit_msg.clone())

Loading…
Cancel
Save