1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " google/cloud/bigquery_unified/version.h"
1615#include " google/cloud/bigquery_unified/connection.h"
1716#include " google/cloud/bigquery_unified/testing_util/opentelemetry_matchers.h"
17+ #include " google/cloud/bigquery_unified/version.h"
1818
1919namespace google ::cloud::bigquery_unified {
2020GOOGLE_CLOUD_CPP_BIGQUERY_INLINE_NAMESPACE_BEGIN
@@ -24,8 +24,8 @@ namespace {
2424using ::google::cloud::bigquery_unified::testing_util::DisableTracing;
2525using ::google::cloud::bigquery_unified::testing_util::EnableTracing;
2626using ::google::cloud::bigquery_unified::testing_util::SpanNamed;
27- using ::testing::Not;
2827using ::testing::Contains;
28+ using ::testing::Not;
2929
3030TEST (BigQueryUnifiedConnectionTest, TracingEnabled) {
3131 auto span_catcher = testing_util::InstallSpanCatcher ();
@@ -39,9 +39,8 @@ TEST(BigQueryUnifiedConnectionTest, TracingEnabled) {
3939 (void )conn->GetJob (request, Options{});
4040
4141 auto spans = span_catcher->GetSpans ();
42- EXPECT_THAT (
43- spans,
44- Contains (SpanNamed (" bigquery_unified::Connection::GetJob" )));
42+ EXPECT_THAT (spans,
43+ Contains (SpanNamed (" bigquery_unified::Connection::GetJob" )));
4544}
4645
4746TEST (BigQueryUnifiedConnectionTest, TracingDisabled) {
@@ -57,8 +56,7 @@ TEST(BigQueryUnifiedConnectionTest, TracingDisabled) {
5756
5857 auto spans = span_catcher->GetSpans ();
5958 EXPECT_THAT (spans,
60- Not (Contains (SpanNamed (
61- " bigquery_unified::Connection::GetJob" ))));
59+ Not (Contains (SpanNamed (" bigquery_unified::Connection::GetJob" ))));
6260}
6361
6462#endif // GOOGLE_CLOUD_CPP_BIGQUERY_HAVE_OPENTELEMETRY
0 commit comments