exec2_test.go 508 B

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