Page MenuHomePhabricator

In the list of tests of an implementation, a test with long name overflows
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to a function that has tests whose name has long words (more than 20 characters; https://www.wikifunctions.org/view/en/Z13160 had it when I reported this bug, but since then it changed)
  • Look at the "Tests" box on the top right.

What happens?:

The screenshot is self-explanatory:

תמונה.png (394×1 px, 86 KB)

What should have happened instead?:

The name of the first test shouldn't overflow.

Event Timeline

The long name isn't allowed, you have to be exploiting a bug to have this seen.

The long name isn't allowed, you have to be exploiting a bug to have this seen.

That name was indeed not great, but it's still conceivable that names of tests will include long words that will overflow. On my computer, that box can handle up to 20 or so Latin characters nicely. This is longish for English, but not unusual at all in a lot of languages.

Change #1131292 had a related patch set uploaded (by Daphne Smit; author: Daphne Smit):

[mediawiki/extensions/WikiLambda@master] In the list of tests of an implementation, a test with long name overflows

https://gerrit.wikimedia.org/r/1131292

Change #1131292 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] In the list of tests of an implementation, a test with long name overflows

https://gerrit.wikimedia.org/r/1131292