release: v0.4.2
This commit is contained in:
parent
3c1afc6caf
commit
ac8cfe23fe
@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## 0.4.2 - Unreleased
|
||||
## 0.4.2 - 2025-12-31
|
||||
|
||||
- Gmail: `thread modify` subcommand + `thread get` split (#21) — thanks @alexknowshtml.
|
||||
- Auth: refreshed account manager + success UI (#20) — thanks @salmonumbrella.
|
||||
|
||||
@ -47,6 +47,7 @@ func TestParseGoogleOAuthClientJSON(t *testing.T) {
|
||||
func TestClientCredentials_Roundtrip(t *testing.T) {
|
||||
home := t.TempDir()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("XDG_CONFIG_HOME", filepath.Join(home, "xdg-config"))
|
||||
|
||||
in := ClientCredentials{ClientID: "id", ClientSecret: "secret"}
|
||||
if err := WriteClientCredentials(in); err != nil {
|
||||
@ -79,6 +80,7 @@ func TestClientCredentials_Roundtrip(t *testing.T) {
|
||||
func TestReadClientCredentials_Errors(t *testing.T) {
|
||||
home := t.TempDir()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("XDG_CONFIG_HOME", filepath.Join(home, "xdg-config"))
|
||||
|
||||
_, err := ReadClientCredentials()
|
||||
if err == nil {
|
||||
|
||||
@ -9,6 +9,7 @@ import (
|
||||
func TestPaths_CreateDirs(t *testing.T) {
|
||||
home := t.TempDir()
|
||||
t.Setenv("HOME", home)
|
||||
t.Setenv("XDG_CONFIG_HOME", filepath.Join(home, "xdg-config"))
|
||||
|
||||
dir, err := EnsureDir()
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user