Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #241 from go-dummy/test/config
Browse files Browse the repository at this point in the history
test(config): add config test
  • Loading branch information
sashamelentyev authored Jan 15, 2022
2 parents 3de1a9d + a42cd47 commit 3e4d64a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package config_test

import (
"github.com/go-dummy/dummy/internal/config"
"github.com/stretchr/testify/require"
"testing"
)

func TestNewConfig(t *testing.T) {
conf := config.NewConfig()

require.IsType(t, &config.Config{}, conf)
}

0 comments on commit 3e4d64a

Please sign in to comment.