aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/typeterm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/types2/typeterm_test.go')
-rw-r--r--src/cmd/compile/internal/types2/typeterm_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/compile/internal/types2/typeterm_test.go b/src/cmd/compile/internal/types2/typeterm_test.go
index 4676fb0437..cc4e30d989 100644
--- a/src/cmd/compile/internal/types2/typeterm_test.go
+++ b/src/cmd/compile/internal/types2/typeterm_test.go
@@ -11,11 +11,11 @@ import (
var testTerms = map[string]*term{
"∅": nil,
- "⊤": &term{},
- "int": &term{false, Typ[Int]},
- "~int": &term{true, Typ[Int]},
- "string": &term{false, Typ[String]},
- "~string": &term{true, Typ[String]},
+ "⊤": {},
+ "int": {false, Typ[Int]},
+ "~int": {true, Typ[Int]},
+ "string": {false, Typ[String]},
+ "~string": {true, Typ[String]},
// TODO(gri) add a defined type
}