diff options
Diffstat (limited to 'src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst_test.go')
-rw-r--r-- | src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst_test.go b/src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst_test.go deleted file mode 100644 index 23ac523207..0000000000 --- a/src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst_test.go +++ /dev/null @@ -1,20 +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 x86asm - -import ( - "strings" - "testing" -) - -func TestRegString(t *testing.T) { - for r := Reg(1); r <= regMax; r++ { - if regNames[r] == "" { - t.Errorf("regNames[%d] is missing", int(r)) - } else if s := r.String(); strings.Contains(s, "Reg(") { - t.Errorf("Reg(%d).String() = %s, want proper name", int(r), s) - } - } -} |