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 186f47f commit 987b90c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/test/trace/noop_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ TEST(NoopTest, UseNoopTracers)
s1->AddEvent("abc"); // add Empty

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

s1->SetStatus(404, "span unavailable")
}

0 comments on commit 987b90c

Please sign in to comment.