Fix up test.
Merge topic 'target-transitive-sources' into next

44199524 Fix up test.