diff options
Diffstat (limited to 'test/chan/sieve.go')
-rw-r--r-- | test/chan/sieve.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/chan/sieve.go b/test/chan/sieve.go index 49f1c105e..b47615f2f 100644 --- a/test/chan/sieve.go +++ b/test/chan/sieve.go @@ -9,8 +9,6 @@ package main -import "os" - // Send the sequence 2, 3, 4, ... to channel 'ch'. func Generate(ch chan<- int) { for i := 2; ; i++ { @@ -49,5 +47,4 @@ func main() { for i := 0; i < len(a); i++ { if x := <-primes; x != a[i] { panic(x, " != ", a[i]) } } - os.Exit(0); } |