diff --git a/packages/stream_chat_localizations/test/translations_test.dart b/packages/stream_chat_localizations/test/translations_test.dart index 04b25e5e..81acf58f 100644 --- a/packages/stream_chat_localizations/test/translations_test.dart +++ b/packages/stream_chat_localizations/test/translations_test.dart @@ -176,7 +176,7 @@ void main() { }); test('`.toString`', () { - const supportedLocales = kStreamChatSupportedLanguages; + final supportedLocales = kStreamChatSupportedLanguages.length; expect( GlobalStreamChatLocalizations.delegate.toString(), 'GlobalStreamChatLocalizations.delegate($supportedLocales locales)',