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 13, 2020
1 parent 0363ada commit 2a88647
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 2a88647

Please sign in to comment.