• Nigel Tao's avatar
    strings: more thorough Replacer tests. · b19c32ac
    Nigel Tao authored
    This verifies existing behavior. Some replacements are arguably wrong
    (these are marked with TODO) but changing behavior is left for a
    follow-up CL.
    
    Also fix that BenchmarkGenericMatch wasn't actually matching anything.
    
    R=rsc, eric.d.eisner
    CC=bradfitz, golang-dev
    https://golang.org/cl/6488110
    b19c32ac
replace_test.go 9.58 KB