chat: v23tests is dead; long live v23test
Change-Id: I1a88dbcc40eac91493c0184653370bcd6c4fb54c
MultiPart: 4/5
diff --git a/clients/shell/go/src/v.io/x/chat/channel_test.go b/clients/shell/go/src/v.io/x/chat/channel_test.go
index 06cc571..a596003 100644
--- a/clients/shell/go/src/v.io/x/chat/channel_test.go
+++ b/clients/shell/go/src/v.io/x/chat/channel_test.go
@@ -18,8 +18,6 @@
"v.io/x/ref/test/modules"
)
-//go:generate jiri test generate
-
var rootMT = modules.Register(func(env *modules.Env, args ...string) error {
ctx, shutdown := v23.Init()
defer shutdown()
@@ -230,3 +228,8 @@
}
}
}
+
+func TestMain(m *testing.M) {
+ modules.DispatchAndExitIfChild()
+ os.Exit(m.Run())
+}
diff --git a/clients/shell/go/src/v.io/x/chat/v23_internal_test.go b/clients/shell/go/src/v.io/x/chat/v23_internal_test.go
deleted file mode 100644
index fa47cad..0000000
--- a/clients/shell/go/src/v.io/x/chat/v23_internal_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// 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.
-
-// This file was auto-generated via go generate.
-// DO NOT UPDATE MANUALLY
-
-package main
-
-import (
- "os"
- "testing"
-
- "v.io/x/ref/test/modules"
-)
-
-func TestMain(m *testing.M) {
- modules.DispatchAndExitIfChild()
- os.Exit(m.Run())
-}