Source file src/runtime/synctest_test.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package runtime_test 6 7 import ( 8 "testing" 9 ) 10 11 func TestSynctest(t *testing.T) { 12 output := runTestProg(t, "testsynctest", "") 13 want := "success\n" 14 if output != want { 15 t.Fatalf("output:\n%s\n\nwanted:\n%s", output, want) 16 } 17 } 18