mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
format using go-1.19
This commit is contained in:
parent
9ce1de4eee
commit
5ef5142bb0
11 changed files with 34 additions and 27 deletions
|
@ -146,7 +146,8 @@ func TestWrite(t *testing.T) {
|
|||
|
||||
// Test that multiple goroutines may call Read on a Conn simultaneously. Run
|
||||
// this with
|
||||
// go test -race
|
||||
//
|
||||
// go test -race
|
||||
func TestConcurrentRead(t *testing.T) {
|
||||
s, c, err := connPair()
|
||||
if err != nil {
|
||||
|
@ -189,7 +190,8 @@ func TestConcurrentRead(t *testing.T) {
|
|||
|
||||
// Test that multiple goroutines may call Write on a Conn simultaneously. Run
|
||||
// this with
|
||||
// go test -race
|
||||
//
|
||||
// go test -race
|
||||
func TestConcurrentWrite(t *testing.T) {
|
||||
s, c, err := connPair()
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue