aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user/user_new_test.go
blob: 619e5de6390ace21ca552de39c5607c165d1603c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package usercmd

import (
	"testing"

	"github.com/stretchr/testify/require"

	"github.com/MichaelMure/git-bug/commands/bug/testenv"
)

func TestUserNewCommand(t *testing.T) {
	_, userID := testenv.NewTestEnvAndUser(t)
	require.Regexp(t, "[0-9a-f]{64}", userID)
}