From 8604c98df53486208cdc15424aae9d9b2fef2d8e Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 2 Mar 2025 01:25:07 +0100 Subject: Apply licenses with rules_license --- asl/logging/BUILD.bazel | 4 ++++ asl/logging/logging_tests.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'asl/logging') diff --git a/asl/logging/BUILD.bazel b/asl/logging/BUILD.bazel index 1ddefff..f565916 100644 --- a/asl/logging/BUILD.bazel +++ b/asl/logging/BUILD.bazel @@ -2,6 +2,10 @@ # # SPDX-License-Identifier: BSD-3-Clause +package( + default_applicable_licenses = ["//:license"], +) + cc_library( name = "logging", srcs = [ diff --git a/asl/logging/logging_tests.cpp b/asl/logging/logging_tests.cpp index b4c9fa6..ec47a8a 100644 --- a/asl/logging/logging_tests.cpp +++ b/asl/logging/logging_tests.cpp @@ -27,6 +27,6 @@ ASL_TEST(custom_writer) ASL_LOG_INFO("Hello"); auto sv = string_writer.as_string_view(); - ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:23: Hello\n"); + ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:27: Hello\n"); } -- cgit