summaryrefslogtreecommitdiff
path: root/test/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/convert.go')
-rw-r--r--test/convert.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/convert.go b/test/convert.go
index 4952e01b7..1b933f93b 100644
--- a/test/convert.go
+++ b/test/convert.go
@@ -40,14 +40,11 @@ func main() {
panicln("type of f is", t, "want", want);
}
- want = typeof(x);
+ want = typeof(a);
if t := typeof(+a); t != want {
panicln("type of +a is", t, "want", want);
}
if t := typeof(a+0); t != want {
panicln("type of a+0 is", t, "want", want);
}
- if t := typeof(a+b); t != want {
- panicln("type of a+b is", t, "want", want);
- }
}