From: Michael Matloob Date: Sun, 14 Jun 2015 16:57:46 +0000 (-0700) Subject: regexp: small correction to test comment X-Git-Tag: go1.5beta1~267 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=71e83b8855c787093dae340d365c5fbd21eab7f9;p=gostls13.git regexp: small correction to test comment s/Backtrace/Backtrack/ Change-Id: I062aab18f23f2bc2110cf7210c2e7264747e02cf Reviewed-on: https://go-review.googlesource.com/11091 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/regexp/exec_test.go b/src/regexp/exec_test.go index 669b80e0bc..4872cb3def 100644 --- a/src/regexp/exec_test.go +++ b/src/regexp/exec_test.go @@ -714,7 +714,7 @@ func TestLongest(t *testing.T) { } } -// TestProgramTooLongForBacktrace tests that a regex which is too long +// TestProgramTooLongForBacktrack tests that a regex which is too long // for the backtracker still executes properly. func TestProgramTooLongForBacktrack(t *testing.T) { longRegex := MustCompile(`(one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|twenty|twentyone|twentytwo|twentythree|twentyfour|twentyfive|twentysix|twentyseven|twentyeight|twentynine|thirty|thirtyone|thirtytwo|thirtythree|thirtyfour|thirtyfive|thirtysix|thirtyseven|thirtyeight|thirtynine|forty|fortyone|fortytwo|fortythree|fortyfour|fortyfive|fortysix|fortyseven|fortyeight|fortynine|fifty|fiftyone|fiftytwo|fiftythree|fiftyfour|fiftyfive|fiftysix|fiftyseven|fiftyeight|fiftynine|sixty|sixtyone|sixtytwo|sixtythree|sixtyfour|sixtyfive|sixtysix|sixtyseven|sixtyeight|sixtynine|seventy|seventyone|seventytwo|seventythree|seventyfour|seventyfive|seventysix|seventyseven|seventyeight|seventynine|eighty|eightyone|eightytwo|eightythree|eightyfour|eightyfive|eightysix|eightyseven|eightyeight|eightynine|ninety|ninetyone|ninetytwo|ninetythree|ninetyfour|ninetyfive|ninetysix|ninetyseven|ninetyeight|ninetynine|onehundred)`)