-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small entrypoint unit test fixes prior to 0.27 release
post_writer_test.go previously used os.ReadFile which was only introduced in Go 1.16. This commit replaces os.ReadFile with ioutil.ReadFile for compatibility with older Go versions. entrypointer_test.go previously wrote a termination file to the developer's git repo which meant it showed up running `git status`. This commit creates a random TempFile for termination paths which are then cleaned up at the end of the test.
- Loading branch information
1 parent
edcaa97
commit 42a632f
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters