Skip to content

Dots are converted to commas in output #81

Open
@mielvds

Description

@mielvds

Hi @pkiraly ,

I ran into a weird error. Consider the test case you wrote for my library: https://github.com/viaacode/metadata-quality-assessment/blob/mqa-0.8/src/test/java/be/meemoo/CalculatorTest.java#L81
This file is part of a branch that aligns with your 8.0 beta on sonatype.
The unittests fail because the output uses commas for CSV doubles, while as you can see, the expected output contains dots. It also seems to add a trailing column. Any idea what's causing this?

org.junit.ComparisonFailure: expected:<[1.0,1.0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
0.5,1.0,1,1,1,1,0,1,1,0,0,0,1,0,1,0,0,0
0.6875,1.0,1,1,1,1,0,1,1,1,0,0,1,0,1,0,1,1
...]
> but was:<["1,0","1,0",1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
"0,5","1,0",1,1,1,1,0,1,1,0,0,0,1,0,1,0,0,0,
"0,6875","1,0",1,1,1,1,0,1,1,1,0,0,1,0,1,0,1,1,
... ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions