Keep contact GPS location saved

This commit is contained in:
Janez T
2026-03-07 18:30:22 +01:00
parent fa37a20fc7
commit 6bfc08f3ae
6 changed files with 238 additions and 124 deletions

View File

@@ -67,6 +67,13 @@ void main() {
);
});
test('rejects routes that do not match the configured hash size', () {
expect(
() => ContactRouteCodec.parse('AABB,CCDD', expectedHashSize: 1),
throwsA(isA<ContactRouteFormatException>()),
);
});
test('rejects invalid tokens', () {
expect(
() => ContactRouteCodec.parse('AA,XYZ'),