go exec2_test 源码

  • 2022-07-15
  • 浏览 (759)

golang exec2_test 代码

文件路径:/src/regexp/exec2_test.go

// Copyright 2013 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.

//go:build !race

package regexp

import (
	"testing"
)

// This test is excluded when running under the race detector because
// it is a very expensive test and takes too long.
func TestRE2Exhaustive(t *testing.T) {
	if testing.Short() {
		t.Skip("skipping TestRE2Exhaustive during short test")
	}
	testRE2(t, "testdata/re2-exhaustive.txt.bz2")
}

相关信息

go 源码目录

相关文章

go all_test 源码

go backtrack 源码

go example_test 源码

go exec 源码

go exec_test 源码

go find_test 源码

go onepass 源码

go onepass_test 源码

go regexp 源码

0  赞