TF-4404 Keep automation keys stable across enum renames.

This commit is contained in:
dab246
2026-03-25 11:34:12 +07:00
committed by Dat H. Pham
parent b97abfbf69
commit 0a88a8f109
3 changed files with 30 additions and 2 deletions
@@ -184,6 +184,19 @@ void main() {
equals(' Re: Hello'),
);
});
test(
'should add a standardized prefix for a legacy NBSP variant',
() {
expect(
EmailUtils.applyPrefix(
subject: 'Re\u00A0: Hello',
defaultPrefix: EmailUtils.defaultReplyPrefix,
),
equals('Re: Re\u00A0: Hello'),
);
},
);
});
});
}