From f1133dd4b0253a31577cc0eb7760ec17f27976df Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Thu, 22 Jul 2021 18:02:17 +0530 Subject: [PATCH] test(localization): fix `.toString` test Signed-off-by: xsahil03x --- packages/stream_chat_localizations/test/translations_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)',