From ba64f2e0deaddbf01da1d04860a98fa9790ebaa2 Mon Sep 17 00:00:00 2001 From: Francesc Campoy Flores Date: Thu, 24 Aug 2017 10:49:01 -0700 Subject: content: Go 1.9 is released Change-Id: I386de65619857af423548316f134298dc1974da4 Reviewed-on: https://go-review.googlesource.com/58591 Reviewed-by: Chris Broadfoot Reviewed-by: Russ Cox --- content/go1.9/helper_test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/go1.9/helper_test.go (limited to 'content/go1.9') diff --git a/content/go1.9/helper_test.go b/content/go1.9/helper_test.go new file mode 100644 index 0000000..bb17004 --- /dev/null +++ b/content/go1.9/helper_test.go @@ -0,0 +1,18 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build OMIT + +package p + +import "testing" + +func failure(t *testing.T) { + t.Helper() // This call silences this function in error reports. + t.Fatal("failure") +} + +func Test(t *testing.T) { + failure(t) +} -- cgit v1.2.3