diff options
author | Austin Clements <austin@google.com> | 2023-05-04 14:25:24 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2023-05-12 12:00:02 +0000 |
commit | a3f69c778fa6c082d38f9cdfacab27714f08a343 (patch) | |
tree | ba20fef1930e62ebb7686763547d57c50017b253 /misc/cgo/nocgo/nocgo_test.go | |
parent | af64b75b67f15154ed13279212d40474cf061fff (diff) | |
download | go-git-a3f69c778fa6c082d38f9cdfacab27714f08a343.tar.gz |
misc/cgo: move registerCgoTests tests to cmd/cgo/internal
This moves the remaining cgo tests.
For #37486.
Change-Id: I99dea5a312a1974de338461a8b02242e5c1bae62
Reviewed-on: https://go-review.googlesource.com/c/go/+/492721
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'misc/cgo/nocgo/nocgo_test.go')
-rw-r--r-- | misc/cgo/nocgo/nocgo_test.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/misc/cgo/nocgo/nocgo_test.go b/misc/cgo/nocgo/nocgo_test.go deleted file mode 100644 index 45d247cf95..0000000000 --- a/misc/cgo/nocgo/nocgo_test.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2014 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. - -package nocgo - -import "testing" - -func TestNop(t *testing.T) { - i := NoCgo() - if i != 42 { - t.Errorf("got %d, want %d", i, 42) - } -} |