403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.217.70
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/go-1.23/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/go-1.23/src/cmd/go/testdata/script/test_json_interleaved.txt
# Regression test for https://golang.org/issue/40657: output from the main test
# function should be attributed correctly even if interleaved with the PAUSE
# line for a new parallel subtest.

[short] skip

go test -json
stdout '"Test":"TestWeirdTiming","Output":"[^"]* logging to outer again\\n"'

-- go.mod --
module example.com
go 1.15
-- main_test.go --
package main

import (
	"testing"
)

func TestWeirdTiming(outer *testing.T) {
	outer.Run("pauser", func(pauser *testing.T) {
		outer.Logf("logging to outer")
		pauser.Parallel()
	})

	outer.Logf("logging to outer again")
}

Youez - 2016 - github.com/yon3zu
LinuXploit