Skip to content

Unnecessary expected variable rendering #1543

Open
@sofurihafe

Description

@sofurihafe

Description

When we asserting actual variable to be null, there is no need in preparing expected variable.

To Reproduce

Steps to reproduce the behavior:

  1. Generate a test for ClassWithCrossReferenceRelationship in plugin

Expected behavior

Only actual variable initialization.

Actual behavior

Expected variable is being initialized and rendered.

Visual proofs (screenshots, logs, images)

image

Metadata

Metadata

Labels

comp-codegenIssue is related to code generatorctg-bugIssue is a bug

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions