Skip to content

Add possibility to configure line separator for RecursiveCollectionLineAggregator #4594

Closed
@rsandtner

Description

@rsandtner

Expected Behavior

The possibility to set the line separator for the RecursiveCollectionLineAggregator exists.

Current Behavior

The line separator is hardcoded using System.getProperty("line.separator")

Context

Batch integration tests are executed on different dev machines using different OS with different line endings (Windows, Mac, Linux).
We use golden files to check the file content and, therefore, are dependent on line endings.

Workaround:

  • set the system property for the specific tests
  • use strings instead of golden files

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions