Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanCheshire committed Jun 30, 2024
1 parent 422acc7 commit f16a360
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.natche.cyderutils.audio;

import com.github.natche.cyderutils.utils.OsUtil;
import org.junit.jupiter.api.Test;

import javax.sound.sampled.AudioSystem;
Expand All @@ -18,7 +19,7 @@ public class AudioSetupTest {
@Test
public void testAudioSystemInitialization() {
try {
File audioFile = new File("src/test/resources/test.wav");
File audioFile = OsUtil.buildFile("src", "test", "java", "com", "github", "natche", "cyderutils", "audio","resources", "ManOfTheSouth.wav")
if (!audioFile.exists()) {
fail("Audio file not found.");
}
Expand Down

0 comments on commit f16a360

Please sign in to comment.