source_gen_test icon indicating copy to clipboard operation
source_gen_test copied to clipboard

fix: add missing clearLogBuilds

Open Sadhorsephile opened this issue 7 months ago • 0 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