File: fix-test-file.patch

package info (click to toggle)
golang-github-awnumar-memguard 0.22.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 572 kB
  • sloc: makefile: 3
file content (17 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Simon Josefsson <simon@josefsson.org>
Subject: [PATCH] Fix test file
Last-Updated: 2025-03-25

diff --git a/buffer_test.go b/buffer_test.go
index 63934cd..bde862f 100644
--- a/buffer_test.go
+++ b/buffer_test.go
@@ -397,7 +397,7 @@ func TestNewBufferFromEntireReader(t *testing.T) {
 	b.Destroy()
 
 	// real world test
-	f, err := os.Open("LICENSE")
+	f, err := os.Open("buffer_test.go")
 	if err != nil {
 		t.Error(err)
 	}