/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
go/stellar/bundle/bundle_test.go
17 строк
366 B
Alex Gessner
account bundle migration cleanup (#14890)
21 дек 2018, 00:42
Не верифицирован
21 дек 2018, 00:42
50e7375
Код
Авторство
О чём код?
package bundle import ( "testing" "github.com/stretchr/testify/require" ) // TestInitialBundle makes sure we can make a brand-new account bundle // with a new random secret. func TestInitialBundle(t *testing.T) { b, err := NewInitial("hello") require.NoError(t, err) require.NotNil(t, b) require.Len(t, b.Accounts, 1) require.Len(t, b.AccountBundles, 1) }