source_gen_test icon indicating copy to clipboard operation
source_gen_test copied to clipboard

fix: add missing clearLogBuilds

Open Sadhorsephile opened this issue 1 year ago • 1 comments

Problem

Some tests keep failing with such error:

`buildLogItems` is not empty. Tests should validate the contents of `buildLogItems` and call `clearBuildLog` before `tearDown`.

even after they are fixed and relaunched.

Solution

I've just added clearBuildLog in two places:

  • after TestFailure detection;
  • at the very start of tearDown.

Sadhorsephile avatar Jul 12 '24 11:07 Sadhorsephile

Is this still a thing?

kevmoo avatar Jun 26 '25 19:06 kevmoo