mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 12:59:13 +00:00
fix: Fix minor typos (#2619)
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io> Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
be0d5e5953
commit
f79782bea9
@@ -47,7 +47,7 @@ class SkyLaunchTest {
|
||||
void testPlaySound() throws Exception {
|
||||
var skyLaunch = new SkyLaunch();
|
||||
var outputLog = getLogContent(() -> skyLaunch.playSound("SOUND_NAME", 1));
|
||||
var expectedLog = "Play SOUND_NAME with volumn 1";
|
||||
var expectedLog = "Play SOUND_NAME with volume 1";
|
||||
assertEquals(outputLog, expectedLog);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ class SkyLaunchTest {
|
||||
final var log1 = getLogContent(logs[0]);
|
||||
final var expectedLog1 = "Move to ( 0.0, 0.0, 20.0 )";
|
||||
final var log2 = getLogContent(logs[1]);
|
||||
final var expectedLog2 = "Play SKYLAUNCH_SOUND with volumn 1";
|
||||
final var expectedLog2 = "Play SKYLAUNCH_SOUND with volume 1";
|
||||
final var log3 = getLogContent(logs[2]);
|
||||
final var expectedLog3 = "Spawn 100 particle with type SKYLAUNCH_PARTICLE";
|
||||
assertEquals(logs.length, expectedSize);
|
||||
|
||||
Reference in New Issue
Block a user