Skip to content

Commit d5b16ae

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 8cc2adb commit d5b16ae

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

tests/DockerContainerTest.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ public function it_can_set_volumes()
111111
->setVolume('/data', '/data')
112112
->getStartCommand();
113113

114-
$this->assertEquals('docker run -v /on/my/host:/on/my/container -v /data:/data -d --rm spatie/docker',
115-
$command);
114+
$this->assertEquals(
115+
'docker run -v /on/my/host:/on/my/container -v /data:/data -d --rm spatie/docker',
116+
$command
117+
);
116118
}
117119

118120
/** @test */
@@ -124,8 +126,10 @@ public function it_can_set_labels()
124126
->setLabel('name', 'spatie')
125127
->getStartCommand();
126128

127-
$this->assertEquals('docker run -l traefik.enable=true -l foo=bar -l name=spatie -d --rm spatie/docker',
128-
$command);
129+
$this->assertEquals(
130+
'docker run -l traefik.enable=true -l foo=bar -l name=spatie -d --rm spatie/docker',
131+
$command
132+
);
129133
}
130134

131135
/** @test */
@@ -213,8 +217,10 @@ public function it_can_generate_exec_command_with_remote_host()
213217
->remoteHost('ssh://username@host')
214218
->getExecCommand('abcdefghijkl', 'whoami');
215219

216-
$this->assertEquals('echo "whoami" | docker -H ssh://username@host exec --interactive abcdefghijkl bash -',
217-
$command);
220+
$this->assertEquals(
221+
'echo "whoami" | docker -H ssh://username@host exec --interactive abcdefghijkl bash -',
222+
$command
223+
);
218224
}
219225

220226
/** @test */

0 commit comments

Comments
 (0)