import 'package:fintracker_app/core/widgets/money_text.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { test('formats a decimal-string RUB amount with ru_RU grouping', () { // intl's ru_RU locale data uses U+00A0 (NBSP) as both the group and // currency separator, so the expected string is not plain ASCII spaces. expect(MoneyText.format('1234.5', 'RUB'), '1 234,50 ₽'); }); }