golang.org/toolchain@v0.0.1-go1.9rc2.windows-amd64/src/regexp/exec2_test.go (about)

     1  // Copyright 2013 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  // +build !race
     6  
     7  package regexp
     8  
     9  import (
    10  	"testing"
    11  )
    12  
    13  // This test is excluded when running under the race detector because
    14  // it is a very expensive test and takes too long.
    15  func TestRE2Exhaustive(t *testing.T) {
    16  	if testing.Short() {
    17  		t.Skip("skipping TestRE2Exhaustive during short test")
    18  	}
    19  	testRE2(t, "testdata/re2-exhaustive.txt.bz2")
    20  }