Skip to content

Commit af0ac8f

Browse files
committed
checkers
1 parent 48e1079 commit af0ac8f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

google/cloud/bigquery_unified/connection_test.cc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
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

1919
namespace google::cloud::bigquery_unified {
2020
GOOGLE_CLOUD_CPP_BIGQUERY_INLINE_NAMESPACE_BEGIN
@@ -24,8 +24,8 @@ namespace {
2424
using ::google::cloud::bigquery_unified::testing_util::DisableTracing;
2525
using ::google::cloud::bigquery_unified::testing_util::EnableTracing;
2626
using ::google::cloud::bigquery_unified::testing_util::SpanNamed;
27-
using ::testing::Not;
2827
using ::testing::Contains;
28+
using ::testing::Not;
2929

3030
TEST(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

4746
TEST(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

Comments
 (0)