Black Lives Matter. Support the Equal Justice Initiative.

Source file src/regexp/exec2_test.go

Documentation: regexp

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

View as plain text