Skip to content

Commit

Permalink
Use specific test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Tax committed Apr 20, 2020
1 parent e365767 commit a9e6cac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/test/trace/simple_processor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ TEST(SimpleSpanProcessor, ToMockSpanExporter)
auto recordable = processor.MakeRecordable();

processor.OnStart(*recordable);
ASSERT_EQ(*span_received, false);
ASSERT_FALSE(*span_received);

processor.OnEnd(std::move(recordable));
ASSERT_EQ(*span_received, true);
ASSERT_TRUE(*span_received);

processor.Shutdown();
ASSERT_EQ(*shutdown_called, true);
ASSERT_TRUE(*shutdown_called);
}

0 comments on commit a9e6cac

Please sign in to comment.