mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
8 lines
257 B
TypeScript
8 lines
257 B
TypeScript
import { assertEquals } from '@std/assert';
|
|
|
|
import { languageSchema } from './schema.ts';
|
|
|
|
Deno.test('languageSchema', () => {
|
|
assertEquals(languageSchema.safeParse('pt').success, true);
|
|
assertEquals(languageSchema.safeParse('PT').success, false);
|
|
});
|