]> Cypherpunks repositories - gostls13.git/commit
os: simplify TestRemoveAllDot
authorKir Kolyshkin <kolyshkin@gmail.com>
Mon, 19 Aug 2024 21:28:41 +0000 (14:28 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 20 Aug 2024 16:06:03 +0000 (16:06 +0000)
commit4b767cf6fd31c8459378cb3298c46245202aea63
tree9771be9820bc5474ec27faece0da7beea297414a
parent5164f6169725bb88a29482f497e1bbf099a5dd29
os: simplify TestRemoveAllDot

Use t.Chdir and t.TempDir to simplify test case code.

Change-Id: If4de06d2373100ce53a5b8f6702d5f4866e3b23d
Reviewed-on: https://go-review.googlesource.com/c/go/+/606897
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/os/removeall_test.go