cyberhybridhub/server/test/spelling/spelling_answer_policy_test.dart
nathanAndrinoid 4459852f83
Some checks failed
Admin portal tests / test (push) Has been cancelled
spelling
2026-06-05 03:22:35 +00:00

10 lines
353 B
Dart

import 'package:cyberhybridhub_server/spelling/spelling_answer_policy.dart';
import 'package:test/test.dart';
void main() {
test('matches is case insensitive and trims whitespace', () {
expect(SpellingAnswerPolicy.matches(' Accommodate ', 'accommodate'), isTrue);
expect(SpellingAnswerPolicy.matches('separate', 'rhythm'), isFalse);
});
}