Skip to content

Commit

Permalink
test: add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dongzl committed Nov 7, 2023
1 parent b287b82 commit cfd0502
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/config/equals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@
package config

import (
"github.com/stretchr/testify/assert"
"testing"
)

import (
"github.com/stretchr/testify/assert"
)

func TestUserEquals(t *testing.T) {
u1 := &User{Username: "user1", Password: "password1"}
u2 := &User{Username: "user2", Password: "password2"}
Expand Down

0 comments on commit cfd0502

Please sign in to comment.