11 lines
162 B
Go
11 lines
162 B
Go
|
package main
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestNameGen(t *testing.T) {
|
||
|
g := NewNameGen()
|
||
|
t.Logf("next id: %s", g.Next())
|
||
|
t.Logf("next id: %s", g.Next())
|
||
|
t.Fail()
|
||
|
}
|