Skip to content

strings: TestReplace failures [consistent failure] #72973

Description

@gopherbot
#!watchflakes
default <- pkg == "strings" && test == "TestReplace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestReplace
    strings_test.go:1478: Replace("hello", "l", "L", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("radar", "r", "<r>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("", "", "<>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "a", "<>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "a", "<>", 1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "a", "<>", 1000) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "an", "<>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "ana", "<>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "", "<>", -1) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "", "<>", 10) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "", "<>", 6) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "", "<>", 5) allocates 2.00 objects
    strings_test.go:1478: Replace("banana", "", "<>", 1) allocates 2.00 objects
    strings_test.go:1478: Replace("☺☻☹", "", "<>", -1) allocates 2.00 objects
--- FAIL: TestReplace (0.00s)

— watchflakes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions