summaryrefslogtreecommitdiff
path: root/test/switch1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/switch1.go')
-rw-r--r--test/switch1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/switch1.go b/test/switch1.go
index 003e473ef..fac9ac8ec 100644
--- a/test/switch1.go
+++ b/test/switch1.go
@@ -10,9 +10,9 @@ func main() {
i := 0;
switch x := 5; {
case i < x:
- sys.exit(0);
+ sys.Exit(0);
case i == x:
case i > x:
- sys.exit(1);
+ sys.Exit(1);
}
}