blob: b409f0b090b4a649fc297b772e91d7311be22455 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fake_test
import (
"testing"
"v.io/v23"
_ "v.io/x/ref/profiles/fake"
)
// Ensure that the fake profile can be used to initialize a fake runtime.
func TestInit(t *testing.T) {
ctx, shutdown := v23.Init()
defer shutdown()
if !ctx.Initialized() {
t.Errorf("Got uninitialized context from Init.")
}
}