test(localization): fix .toString test

Signed-off-by: xsahil03x <xdsahil@gmail.com>
This commit is contained in:
Sahil Kumar
2021-07-22 18:02:17 +05:30
committed by xsahil03x
parent a118916263
commit f1133dd4b0
@@ -176,7 +176,7 @@ void main() {
});
test('`.toString`', () {
const supportedLocales = kStreamChatSupportedLanguages;
final supportedLocales = kStreamChatSupportedLanguages.length;
expect(
GlobalStreamChatLocalizations.delegate.toString(),
'GlobalStreamChatLocalizations.delegate($supportedLocales locales)',