Skip to content

Random test Strings1::tstReplaceLast failed in runner #2601

@rodinaarssen

Description

@rodinaarssen

Describe the bug

The test tstReplaceLast in lang::rascal::tests::basic::Strings1 failed randomly in CI with the input

Actual parameters:
	str =>" \tkH"
	str =>" \t \t \t"
	str =>"361829"

Reducing this a bit, it suffices to call tstReplaceLast("abc", "abab", "_"). The value of the last parameter is irrelevant, as long as it is non-empty. It appears to be crucial that the second argument is a repetition (>1) of any prefix (of length >1) of the first string. Probably to be fixed in isOverlapping.

Desktop (please complete the following information):

  • Context: VS Code 0.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions