]> Cypherpunks repositories - gostls13.git/commit
compress/bzip2: use obscuretestdata.ReadFile to avoid creating temporary
authorIan Lance Taylor <iant@golang.org>
Fri, 30 Jan 2026 23:39:04 +0000 (15:39 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 3 Feb 2026 03:40:59 +0000 (19:40 -0800)
commit18d31e3e8bf47538c8a570268cd714d47bf01aef
tree15bc379ef25bae1539ebee035e892b7aebffc567
parent7fd116f86451d7262f7683629b90c8adc0137f53
compress/bzip2: use obscuretestdata.ReadFile to avoid creating temporary

The temporary was not being deleted. Not creating it at all is better.

Change-Id: Id9c5498a2f7d2f58770a09a2a76f4ab30943dd3d
Reviewed-on: https://go-review.googlesource.com/c/go/+/740780
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/compress/bzip2/bzip2_test.go