Skip to content

Commit 3478f55

Browse files
mediliesgithub-actions[bot]
authored andcommitted
Fix styling
1 parent df30344 commit 3478f55

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/unit/Strategies/FileTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
test('getProjectRoot')
66
->expect((new File)->getProjectRoot())
7-
->toBe(realpath(__DIR__ . '/../../../'));
7+
->toBe(realpath(__DIR__.'/../../../'));
88

99
it('constructs with project root path by default')
1010
->expect((new File)->getPath())
11-
->toBe(realpath(__DIR__ . '/../../../'));
11+
->toBe(realpath(__DIR__.'/../../../'));
1212

1313
it('constructs with given valid absolute paths')
1414
->expect([
@@ -43,11 +43,11 @@
4343
->expect([
4444
(new File('tests'))->getPath(),
4545
(string) new File('/tests'),
46-
(string) new File(DIRECTORY_SEPARATOR . 'tests'),
46+
(string) new File(DIRECTORY_SEPARATOR.'tests'),
4747
// Can test '\test' on windows
4848
])
4949
->each
50-
->toBe(realpath(__DIR__ . '/../..'));
50+
->toBe(realpath(__DIR__.'/../..'));
5151

5252
test('isDir')
5353
->expect((new File(__DIR__))->isDir())
@@ -57,10 +57,10 @@
5757

5858
test('getDirectoryContent')
5959
->expect((new File())->getDirectoryContent())
60-
->toContain(realpath(__DIR__ . '/../../../composer.json'))
61-
->toContain(realpath(__DIR__ . '/../../../src'))
62-
->toContain(realpath(__DIR__ . '/../../../tests'))
63-
->toContain(realpath(__DIR__ . '/../../../vendor'));
60+
->toContain(realpath(__DIR__.'/../../../composer.json'))
61+
->toContain(realpath(__DIR__.'/../../../src'))
62+
->toContain(realpath(__DIR__.'/../../../tests'))
63+
->toContain(realpath(__DIR__.'/../../../vendor'));
6464

6565
it('throws an exception for calling getDirectoryContent on a file')
6666
->expect(fn () => (new File('composer.json'))->getDirectoryContent())
@@ -69,7 +69,7 @@
6969
test('getDirectoryJsonContent')
7070
->expect((new File())->getDirectoryJsonContent())
7171
->toHaveCount(1)
72-
->toContain(realpath(__DIR__ . '/../../../composer.json'));
72+
->toContain(realpath(__DIR__.'/../../../composer.json'));
7373

7474
it('throws an exception for calling getDirectoryJsonContent on a file')
7575
->expect(fn () => (new File('composer.json'))->getDirectoryJsonContent())

0 commit comments

Comments
 (0)