Code Duplication    Length = 8-8 lines in 2 locations

tests/PhpSpreadsheetTests/Shared/StringHelperTest.php 2 locations

@@ 24-31 (lines=8) @@
21
        $this->assertTrue($result);
22
    }
23
24
    public function testGetDecimalSeparator()
25
    {
26
        $localeconv = localeconv();
27
28
        $expectedResult = (!empty($localeconv['decimal_point'])) ? $localeconv['decimal_point'] : ',';
29
        $result = StringHelper::getDecimalSeparator();
30
        $this->assertEquals($expectedResult, $result);
31
    }
32
33
    public function testSetDecimalSeparator()
34
    {
@@ 42-49 (lines=8) @@
39
        $this->assertEquals($expectedResult, $result);
40
    }
41
42
    public function testGetThousandsSeparator()
43
    {
44
        $localeconv = localeconv();
45
46
        $expectedResult = (!empty($localeconv['thousands_sep'])) ? $localeconv['thousands_sep'] : ',';
47
        $result = StringHelper::getThousandsSeparator();
48
        $this->assertEquals($expectedResult, $result);
49
    }
50
51
    public function testSetThousandsSeparator()
52
    {