| 1 |
From: "Dr. Tobias Quathamer" <[email protected]> |
| 2 |
Date: Sat, 28 Feb 2026 21:19:13 +0100 |
| 3 |
Subject: Fix FTBFS with golang-1.26 |
| 4 |
|
| 5 |
--- |
| 6 |
internal/binutils/binutils_test.go | 2 +- |
| 7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 |
|
| 9 |
diff --git a/internal/binutils/binutils_test.go b/internal/binutils/binutils_test.go |
| 10 |
index 77242a6..59bc8e1 100644 |
| 11 |
--- a/internal/binutils/binutils_test.go |
| 12 |
+++ b/internal/binutils/binutils_test.go |
| 13 |
@@ -372,7 +372,7 @@ func TestObjFile(t *testing.T) { |
| 14 |
t.Fatalf("SourceLine: unexpected error %v", err) |
| 15 |
} |
| 16 |
wantFrames := []plugin.Frame{ |
| 17 |
|
| 18 |
+ {Func: "main", File: "/tmp/hello.c", Line: 3, StartLine: 0}, |
| 19 |
} |
| 20 |
if !reflect.DeepEqual(gotFrames, wantFrames) { |
| 21 |
t.Fatalf("SourceLine for main: got %v; want %v\n", gotFrames, wantFrames) |