From 36a13e8a2b527fe95402908f2a1a186a912ae5a7 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Thu, 22 Jul 2021 20:16:36 +0530 Subject: [PATCH] fix(localization): fix `fileTooLargeAfterCompressionError`, `fileTooLargeError` Signed-off-by: xsahil03x --- .../test/src/default_translations_test.dart | 4 ++-- .../stream_chat_localizations/test/translations_test.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/stream_chat_flutter/test/src/default_translations_test.dart b/packages/stream_chat_flutter/test/src/default_translations_test.dart index 13941c2e..e78c0115 100644 --- a/packages/stream_chat_flutter/test/src/default_translations_test.dart +++ b/packages/stream_chat_flutter/test/src/default_translations_test.dart @@ -54,8 +54,8 @@ void main() { expect(translations.searchGifLabel, isNotNull); expect(translations.writeAMessageLabel, isNotNull); expect(translations.instantCommandsLabel, isNotNull); - expect(translations.fileTooLargeAfterCompressionError, isNotNull); - expect(translations.fileTooLargeError, isNotNull); + expect(translations.fileTooLargeAfterCompressionError(33), isNotNull); + expect(translations.fileTooLargeError(33), isNotNull); expect(translations.emojiMatchingQueryText('sahil'), isNotNull); expect(translations.addAFileLabel, isNotNull); expect(translations.photoFromCameraLabel, isNotNull); diff --git a/packages/stream_chat_localizations/test/translations_test.dart b/packages/stream_chat_localizations/test/translations_test.dart index ce00b9ac..0e621159 100644 --- a/packages/stream_chat_localizations/test/translations_test.dart +++ b/packages/stream_chat_localizations/test/translations_test.dart @@ -61,8 +61,8 @@ void main() { expect(localizations.searchGifLabel, isNotNull); expect(localizations.writeAMessageLabel, isNotNull); expect(localizations.instantCommandsLabel, isNotNull); - expect(localizations.fileTooLargeAfterCompressionError, isNotNull); - expect(localizations.fileTooLargeError, isNotNull); + expect(localizations.fileTooLargeAfterCompressionError(33), isNotNull); + expect(localizations.fileTooLargeError(33), isNotNull); expect(localizations.emojiMatchingQueryText('sahil'), isNotNull); expect(localizations.addAFileLabel, isNotNull); expect(localizations.photoFromCameraLabel, isNotNull);