testy: add a virtual clock helper for tests.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson
2020-03-18 17:37:15 -07:00
committed by Dave Anderson
parent b1d5548fa7
commit 2e43cd3f95
2 changed files with 50 additions and 0 deletions

6
testy/doc.go Normal file
View File

@ -0,0 +1,6 @@
// Copyright (c) 2020 Tailscale Inc & 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 testy provides utilities for use in unit tests.
package testy