From 052be800a7b3a24d9b393497ab4248325f4510d7 Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 28 Sep 2026 21:05:56 -0400 Subject: [PATCH] test(log): fix the source line assertion after the import change Signed-off-by: Deluan --- log/log_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/log_test.go b/log/log_test.go index 389658df0..631b7c1aa 100644 --- a/log/log_test.go +++ b/log/log_test.go @@ -96,7 +96,7 @@ var _ = Describe("Logger", func() { SetLogSourceLine(true) Error("A crash happened") // NOTE: This assertion breaks if the line number above changes - Expect(hook.LastEntry().Data[" source"]).To(ContainSubstring("/log/log_test.go:96")) + Expect(hook.LastEntry().Data[" source"]).To(ContainSubstring("/log/log_test.go:97")) Expect(hook.LastEntry().Message).To(Equal("A crash happened")) })