diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-17 10:12:44 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-17 10:30:15 +0100 |
commit | 0a7579b161834d052e89e9319ed248a04554e85d (patch) | |
tree | efbd1ce1c0640ac685667155e57a0354e58e9395 /tests | |
parent | 107f2961ccfac179af7682eb5f6e7ea91e80040c (diff) | |
download | redot-engine-0a7579b161834d052e89e9319ed248a04554e85d.tar.gz |
Fix `#if *_ENABLED` inconsistencies, should check if defined
Co-authored-by: Caroline Joy Bell <halotroop2288@proton.me>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scene/test_audio_stream_wav.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scene/test_audio_stream_wav.h b/tests/scene/test_audio_stream_wav.h index e36f049136..ed1697929e 100644 --- a/tests/scene/test_audio_stream_wav.h +++ b/tests/scene/test_audio_stream_wav.h @@ -148,7 +148,7 @@ void run_test(String file_name, AudioStreamWAV::Format data_format, bool stereo, Ref<FileAccess> wav_file = FileAccess::open(save_path, FileAccess::READ, &error); REQUIRE(error == OK); -#if TOOLS_ENABLED +#ifdef TOOLS_ENABLED // The WAV importer can be used if enabled to check that the saved file is valid. Ref<ResourceImporterWAV> wav_importer = memnew(ResourceImporterWAV); |