Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Jan 2, 2021
1 parent 463ae43 commit 9533edc
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 70 deletions.
62 changes: 31 additions & 31 deletions passes/predeclared/testdata/all-q.out
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
testdata/all-q.go:3:9: package name "rune" has same name as predeclared identifier
testdata/all-q.go:5:8: import name "false" has same name as predeclared identifier
testdata/all-q.go:8:2: const "nil" has same name as predeclared identifier
testdata/all-q.go:9:2: const "len" has same name as predeclared identifier
testdata/all-q.go:9:7: const "cap" has same name as predeclared identifier
testdata/all-q.go:13:2: variable "int8" has same name as predeclared identifier
testdata/all-q.go:16:7: const "int" has same name as predeclared identifier
testdata/all-q.go:20:3: variable "new" has same name as predeclared identifier
testdata/all-q.go:24:8: type "byte" has same name as predeclared identifier
testdata/all-q.go:30:2: field "print" has same name as predeclared identifier
testdata/all-q.go:30:13: param "float64" has same name as predeclared identifier
testdata/all-q.go:30:25: named return "float64" has same name as predeclared identifier
testdata/all-q.go:30:34: named return "float32" has same name as predeclared identifier
testdata/all-q.go:34:2: method "uintptr" has same name as predeclared identifier
testdata/all-q.go:34:10: param "int32" has same name as predeclared identifier
testdata/all-q.go:34:22: named return "int16" has same name as predeclared identifier
testdata/all-q.go:37:6: function "println" has same name as predeclared identifier
testdata/all-q.go:38:6: variable "close" has same name as predeclared identifier
testdata/all-q.go:39:8: const "delete" has same name as predeclared identifier
testdata/all-q.go:41:3: variable "iota" has same name as predeclared identifier
testdata/all-q.go:43:1: label "imag" has same name as predeclared identifier
testdata/all-q.go:45:2: label "real" has same name as predeclared identifier
testdata/all-q.go:53:3: field "complex128" has same name as predeclared identifier
testdata/all-q.go:53:15: field "complex64" has same name as predeclared identifier
testdata/all-q.go:57:16: method "complex64" has same name as predeclared identifier
testdata/all-q.go:57:7: receiver "error" has same name as predeclared identifier
testdata/all-q.go:57:26: param "string" has same name as predeclared identifier
testdata/all-q.go:57:44: named return "byte" has same name as predeclared identifier
testdata/all-q.go:58:2: variable "panic" has same name as predeclared identifier
testdata/all-q.go:58:9: variable "recover" has same name as predeclared identifier
testdata/all-q.go:60:3: variable "make" has same name as predeclared identifier
testdata/all-q.go:3:9: package name rune has same name as predeclared identifier
testdata/all-q.go:5:8: import name false has same name as predeclared identifier
testdata/all-q.go:8:2: const nil has same name as predeclared identifier
testdata/all-q.go:9:2: const len has same name as predeclared identifier
testdata/all-q.go:9:7: const cap has same name as predeclared identifier
testdata/all-q.go:13:2: variable int8 has same name as predeclared identifier
testdata/all-q.go:16:7: const int has same name as predeclared identifier
testdata/all-q.go:20:3: variable new has same name as predeclared identifier
testdata/all-q.go:24:8: type byte has same name as predeclared identifier
testdata/all-q.go:30:2: field print has same name as predeclared identifier
testdata/all-q.go:30:13: param float64 has same name as predeclared identifier
testdata/all-q.go:30:25: named return float64 has same name as predeclared identifier
testdata/all-q.go:30:34: named return float32 has same name as predeclared identifier
testdata/all-q.go:34:2: method uintptr has same name as predeclared identifier
testdata/all-q.go:34:10: param int32 has same name as predeclared identifier
testdata/all-q.go:34:22: named return int16 has same name as predeclared identifier
testdata/all-q.go:37:6: function println has same name as predeclared identifier
testdata/all-q.go:38:6: variable close has same name as predeclared identifier
testdata/all-q.go:39:8: const delete has same name as predeclared identifier
testdata/all-q.go:41:3: variable iota has same name as predeclared identifier
testdata/all-q.go:43:1: label imag has same name as predeclared identifier
testdata/all-q.go:45:2: label real has same name as predeclared identifier
testdata/all-q.go:53:3: field complex128 has same name as predeclared identifier
testdata/all-q.go:53:15: field complex64 has same name as predeclared identifier
testdata/all-q.go:57:16: method complex64 has same name as predeclared identifier
testdata/all-q.go:57:7: receiver error has same name as predeclared identifier
testdata/all-q.go:57:26: param string has same name as predeclared identifier
testdata/all-q.go:57:44: named return byte has same name as predeclared identifier
testdata/all-q.go:58:2: variable panic has same name as predeclared identifier
testdata/all-q.go:58:9: variable recover has same name as predeclared identifier
testdata/all-q.go:60:3: variable make has same name as predeclared identifier
52 changes: 26 additions & 26 deletions passes/predeclared/testdata/all.out
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
testdata/all.go:1:9: package name "rune" has same name as predeclared identifier
testdata/all.go:3:8: import name "false" has same name as predeclared identifier
testdata/all.go:6:2: const "nil" has same name as predeclared identifier
testdata/all.go:7:2: const "len" has same name as predeclared identifier
testdata/all.go:7:7: const "cap" has same name as predeclared identifier
testdata/all.go:11:2: variable "int8" has same name as predeclared identifier
testdata/all.go:14:7: const "int" has same name as predeclared identifier
testdata/all.go:18:3: variable "new" has same name as predeclared identifier
testdata/all.go:22:8: type "byte" has same name as predeclared identifier
testdata/all.go:28:13: param "float64" has same name as predeclared identifier
testdata/all.go:28:25: named return "float64" has same name as predeclared identifier
testdata/all.go:28:34: named return "float32" has same name as predeclared identifier
testdata/all.go:32:10: param "int32" has same name as predeclared identifier
testdata/all.go:32:22: named return "int16" has same name as predeclared identifier
testdata/all.go:35:6: function "println" has same name as predeclared identifier
testdata/all.go:36:6: variable "close" has same name as predeclared identifier
testdata/all.go:37:8: const "delete" has same name as predeclared identifier
testdata/all.go:39:3: variable "iota" has same name as predeclared identifier
testdata/all.go:41:1: label "imag" has same name as predeclared identifier
testdata/all.go:43:2: label "real" has same name as predeclared identifier
testdata/all.go:55:7: receiver "error" has same name as predeclared identifier
testdata/all.go:55:26: param "string" has same name as predeclared identifier
testdata/all.go:55:44: named return "byte" has same name as predeclared identifier
testdata/all.go:56:2: variable "panic" has same name as predeclared identifier
testdata/all.go:56:9: variable "recover" has same name as predeclared identifier
testdata/all.go:58:3: variable "make" has same name as predeclared identifier
testdata/all.go:1:9: package name rune has same name as predeclared identifier
testdata/all.go:3:8: import name false has same name as predeclared identifier
testdata/all.go:6:2: const nil has same name as predeclared identifier
testdata/all.go:7:2: const len has same name as predeclared identifier
testdata/all.go:7:7: const cap has same name as predeclared identifier
testdata/all.go:11:2: variable int8 has same name as predeclared identifier
testdata/all.go:14:7: const int has same name as predeclared identifier
testdata/all.go:18:3: variable new has same name as predeclared identifier
testdata/all.go:22:8: type byte has same name as predeclared identifier
testdata/all.go:28:13: param float64 has same name as predeclared identifier
testdata/all.go:28:25: named return float64 has same name as predeclared identifier
testdata/all.go:28:34: named return float32 has same name as predeclared identifier
testdata/all.go:32:10: param int32 has same name as predeclared identifier
testdata/all.go:32:22: named return int16 has same name as predeclared identifier
testdata/all.go:35:6: function println has same name as predeclared identifier
testdata/all.go:36:6: variable close has same name as predeclared identifier
testdata/all.go:37:8: const delete has same name as predeclared identifier
testdata/all.go:39:3: variable iota has same name as predeclared identifier
testdata/all.go:41:1: label imag has same name as predeclared identifier
testdata/all.go:43:2: label real has same name as predeclared identifier
testdata/all.go:55:7: receiver error has same name as predeclared identifier
testdata/all.go:55:26: param string has same name as predeclared identifier
testdata/all.go:55:44: named return byte has same name as predeclared identifier
testdata/all.go:56:2: variable panic has same name as predeclared identifier
testdata/all.go:56:9: variable recover has same name as predeclared identifier
testdata/all.go:58:3: variable make has same name as predeclared identifier
10 changes: 5 additions & 5 deletions passes/predeclared/testdata/example1.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
testdata/example1.go:3:9: package name "print" has same name as predeclared identifier
testdata/example1.go:5:6: function "append" has same name as predeclared identifier
testdata/example1.go:6:2: variable "copy" has same name as predeclared identifier
testdata/example1.go:11:2: method "new" has same name as predeclared identifier
testdata/example1.go:14:15: method "new" has same name as predeclared identifier
testdata/example1.go:3:9: package name print has same name as predeclared identifier
testdata/example1.go:5:6: function append has same name as predeclared identifier
testdata/example1.go:6:2: variable copy has same name as predeclared identifier
testdata/example1.go:11:2: method new has same name as predeclared identifier
testdata/example1.go:14:15: method new has same name as predeclared identifier
8 changes: 4 additions & 4 deletions passes/predeclared/testdata/example2.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testdata/example2.go:1:9: package name "print" has same name as predeclared identifier
testdata/example2.go:3:8: import name "cap" has same name as predeclared identifier
testdata/example2.go:5:6: function "make" has same name as predeclared identifier
testdata/example2.go:6:2: variable "copy" has same name as predeclared identifier
testdata/example2.go:1:9: package name print has same name as predeclared identifier
testdata/example2.go:3:8: import name cap has same name as predeclared identifier
testdata/example2.go:5:6: function make has same name as predeclared identifier
testdata/example2.go:6:2: variable copy has same name as predeclared identifier
6 changes: 3 additions & 3 deletions passes/predeclared/testdata/example3.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
testdata/example3.go:7:6: function "copy" has same name as predeclared identifier
testdata/example3.go:12:3: variable "string" has same name as predeclared identifier
testdata/example3.go:18:6: function "print" has same name as predeclared identifier
testdata/example3.go:7:6: function copy has same name as predeclared identifier
testdata/example3.go:12:3: variable string has same name as predeclared identifier
testdata/example3.go:18:6: function print has same name as predeclared identifier
2 changes: 1 addition & 1 deletion passes/predeclared/testdata/ignore.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
testdata/ignore.go:9:6: function "copy" has same name as predeclared identifier
testdata/ignore.go:9:6: function copy has same name as predeclared identifier

0 comments on commit 9533edc

Please sign in to comment.