Skip to content

Missing line separator in a generated kotlin file #842

Open
@CaelmBleidd

Description

@CaelmBleidd

Description

When UTBot generates kotlin file with a failing test, there is a missing line separator in it.

To Reproduce

Steps to reproduce the behavior:

Example:

  1. Run any project with runtime error in the code in IntelliJ Idea
  2. Use the plugin to generate tests
  3. Open the generated test

Expected behavior

A line with "/* This test fails because...", line separator and line that fails

Actual behavior

Missing line separator

Visual proofs (screenshots, logs, images)

image

Environment

No specific environment is required.

Additional context

There is no additional context.

Metadata

Metadata

Labels

comp-codegenIssue is related to code generatorctg-bugIssue is a buglang-kotlinIssue is related to Kotlin language support

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions