-// +build !nacl
// run
+//go:build !nacl && !js && !wasip1 && gc
+
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
os.Exit(1)
}
- want := "hello\ntrumped\n"
+ want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
got := out.String()
if got != want {
fmt.Printf("got %q want %q\n", got, want)