Skip to content

Commit

Permalink
added noop test to cover more lines of code -- for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Aug 21, 2020
1 parent f423173 commit 2925d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/trace/noop_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ TEST(NoopTest, UseNoopTracers)

EXPECT_EQ(s1->IsRecording(), false);

s1->SetStatus(3, "span unavailable");
s1->SetStatus(opentelemetry::trace::CanonicalCode::INVALID_ARGUMENT, "span unavailable");

s1->UpdateName("test_name");

Expand Down

0 comments on commit 2925d5a

Please sign in to comment.