Skip to content

Commit d4741d3

Browse files
committed
Fix warning in decibels tests
1 parent 42913b0 commit d4741d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/yup_audio_basics/yup_Decibels.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ TEST (DecibelsTests, ToStringAtMinusInfinity)
322322
TEST (DecibelsTests, ToStringCustomMinusInfinityString)
323323
{
324324
// Custom minus infinity string (lines 114-117)
325-
String s = Decibels::toString (-120.0f, 2, -100.0f, true, "-\u221E");
326-
EXPECT_TRUE (s.contains ("-\u221E"));
325+
String s = Decibels::toString (-120.0f, 2, -100.0f, true, "minus infinite");
326+
EXPECT_TRUE (s.contains ("minus infinite"));
327327
}
328328

329329
TEST (DecibelsTests, ToStringWithoutSuffix)

0 commit comments

Comments
 (0)