diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-18 18:04:33 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-18 18:04:33 +0200 |
commit | b2f7bcf657790931411bda4fd2d0a9418aec8489 (patch) | |
tree | 52e0663d32021954439d5aa6f01bd7c788a34294 | |
parent | 82e125014f9c287d5766a8df1407ca91a567b3bb (diff) | |
download | feed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.tar.gz feed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.tar.bz2 feed2imap-go-b2f7bcf657790931411bda4fd2d0a9418aec8489.zip |
Move to yaml_test
-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 } |