move tests

This commit is contained in:
Ruidy Nemausat 2021-10-20 13:53:25 +02:00
parent 3757c69c60
commit c98c1e7a71
No known key found for this signature in database
GPG key ID: A367830814E7096E
2 changed files with 5 additions and 3 deletions

View file

@ -1,9 +1,10 @@
package cmd
import (
"log"
"github.com/fatih/color"
"github.com/spf13/cobra"
"log"
"password-generator/passGen"
)

View file

@ -1,10 +1,11 @@
package main
package passGen_test
import (
"math/rand"
"password-generator/passGen"
"strings"
"testing"
"password-generator/passGen"
)
func TestGeneratePasswordWithGivenCharacterNumber(t *testing.T) {