MCPcopy Create free account
hub / github.com/cli/cli / TestPostVersion

Function TestPostVersion

internal/config/migration/multi_account_test.go:103–106  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

101}
102
103func TestPostVersion(t *testing.T) {
104 var m migration.MultiAccountDeprecated
105 require.Equal(t, "1", m.PostVersion())
106}
107
108func TestMigrationReturnsSuccessfullyWhenNoHostsEntry(t *testing.T) {
109 cfg := config.ReadFromString(``)

Callers

nothing calls this directly

Calls 2

PostVersionMethod · 0.95
EqualMethod · 0.80

Tested by

no test coverage detected