mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 10:59:03 +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
@@ -48,7 +48,7 @@ class GroundDiveTest {
|
||||
void testPlaySound() throws Exception {
|
||||
var groundDive = new GroundDive();
|
||||
var outputLog = getLogContent(() -> groundDive.playSound("SOUND_NAME", 1));
|
||||
var expectedLog = "Play SOUND_NAME with volumn 1";
|
||||
var expectedLog = "Play SOUND_NAME with volume 1";
|
||||
assertEquals(outputLog, expectedLog);
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ class GroundDiveTest {
|
||||
final var log1 = logs[0].split("-")[1].trim() + " -" + logs[0].split("-")[2].trim();
|
||||
final var expectedLog1 = "Move to ( 0.0, 0.0, -20.0 )";
|
||||
final var log2 = getLogContent(logs[1]);
|
||||
final var expectedLog2 = "Play GROUNDDIVE_SOUND with volumn 5";
|
||||
final var expectedLog2 = "Play GROUNDDIVE_SOUND with volume 5";
|
||||
final var log3 = getLogContent(logs[2]);
|
||||
final var expectedLog3 = "Spawn 20 particle with type GROUNDDIVE_PARTICLE";
|
||||
assertEquals(logs.length, expectedSize);
|
||||
|
||||
Reference in New Issue
Block a user