diff options
author | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-12-21 19:23:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-12-21 19:23:41 +0000 |
commit | 4e8f681eff57803d8f3d40a71f6f70ed7618466b (patch) | |
tree | a5c2db0791f21ffcbaedc94f5f6fdf55f260b270 /test/fixedbugs/issue7310.go | |
parent | 1a523c8ab08e95ddfb7c50e19ddd6c73bb45daf5 (diff) | |
parent | ca8e17164e0adf9b3ec8465e361b41c1636a3b93 (diff) | |
download | go-git-4e8f681eff57803d8f3d40a71f6f70ed7618466b.tar.gz |
Merge "[dev.regabi] all: merge master into dev.regabi" into dev.regabi
Diffstat (limited to 'test/fixedbugs/issue7310.go')
-rw-r--r-- | test/fixedbugs/issue7310.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/issue7310.go b/test/fixedbugs/issue7310.go index 6829d5e126..ba50e4237b 100644 --- a/test/fixedbugs/issue7310.go +++ b/test/fixedbugs/issue7310.go @@ -9,7 +9,7 @@ package main func main() { - _ = copy(nil, []int{}) // ERROR "use of untyped nil" - _ = copy([]int{}, nil) // ERROR "use of untyped nil" - _ = 1 + true // ERROR "mismatched types untyped int and untyped bool" + _ = copy(nil, []int{}) // ERROR "use of untyped nil|left argument must be a slice" + _ = copy([]int{}, nil) // ERROR "use of untyped nil|second argument must be slice or string" + _ = 1 + true // ERROR "mismatched types untyped int and untyped bool|incompatible types" } |