aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-18 18:04:33 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-18 18:04:33 +0200
commitb2f7bcf657790931411bda4fd2d0a9418aec8489 (patch)
tree52e0663d32021954439d5aa6f01bd7c788a34294 /internal
parent82e125014f9c287d5766a8df1407ca91a567b3bb (diff)
downloadfeed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.tar.gz
feed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.tar.bz2
feed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.zip
Move to yaml_test
Diffstat (limited to '')
-rw-r--r--internal/config/yaml_test.go (renamed from internal/config/config_test.go)26
1 files changed, 0 insertions, 26 deletions
diff --git a/internal/config/config_test.go b/internal/config/yaml_test.go
index 44dbfe2..f5a7b03 100644
--- a/internal/config/config_test.go
+++ b/internal/config/yaml_test.go
@@ -5,32 +5,6 @@ import (
"testing"
)
-func TestLoad(t *testing.T) {
- type args struct {
- path string
- }
- tests := []struct {
- name string
- args args
- want Config
- wantErr bool
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- got, err := Load(tt.args.path)
- if (err != nil) != tt.wantErr {
- t.Errorf("Load() error = %v, wantErr %v", err, tt.wantErr)
- return
- }
- if !reflect.DeepEqual(got, tt.want) {
- t.Errorf("Load() got = %v, want %v", got, tt.want)
- }
- })
- }
-}
-
func s(s string) *string { return &s }
func b(b bool) *bool { return &b }
span class='insertions'>+23 2014-04-24version: bump1.6.1Jason A. Donenfeld1-1/+1 2014-04-24Makefile: osx/bsd does not support -DJason A. Donenfeld2-25/+25 2014-04-24show: error out if password store is empty.Jason A. Donenfeld1-1/+4 2014-04-24find: proper segmenting of terms1.6Jason A. Donenfeld1-3/+3 2014-04-24dmenu: hide outputJason A. Donenfeld1-1/+1 2014-04-24tests: test for spacesJason A. Donenfeld3-8/+20 2014-04-24Move test instructions to INSTALL.Jason A. Donenfeld2-11/+18 2014-04-24tests: we don't use aggregate-resultsJason A. Donenfeld1-57/+0 2014-04-24Don't prompt for questions when stdin is not a tty.Jason A. Donenfeld3-7/+6 2014-04-24Allow overridable bash.Jason A. Donenfeld16-16/+16 2014-04-24dmenu: check for empty instead of ret codeJason A. Donenfeld1-1/+1 2014-04-24tests: sed doesn't like escaped chars on non-gnuJason A. Donenfeld1-1/+1 2014-04-24tests: run from anywhereJason A. Donenfeld13-4/+16 2014-04-24Turns out aliases were a bad idea.Jason A. Donenfeld14-95/+92 2014-04-24Make gpg_opts an array.Jason A. Donenfeld1-12/+12 2014-04-24Shellcheck errors.Jason A. Donenfeld1-6/+6 2014-04-24tests: todo updateJason A. Donenfeld1-25/+0