Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { expect, test } from "vitest";2import nl from "../../../locales/nl.js";3 4test("Dutch locale error messages", () => {5 const { localeError } = nl();6 7 // Test invalid_type8 expect(9 localeError({10 code: "invalid_type",11 expected: "string",12 input: 123,13 })14 ).toBe("Ongeldige invoer: verwacht string, ontving getal");15 16 // Test too_big with sizing17 expect(18 localeError({19 code: "too_big",20 origin: "string",21 maximum: 10,22 inclusive: true,23 input: "test string that is too long",24 })25 ).toBe("Te lang: verwacht dat string <=10 tekens heeft");26 27 // Test too_small with sizing28 expect(29 localeError({30 code: "too_small",31 origin: "array",32 minimum: 5,33 inclusive: false,34 input: [1, 2],35 })36 ).toBe("Te klein: verwacht dat array >5 elementen heeft");37 38 // Test invalid_format39 expect(40 localeError({41 code: "invalid_format",42 format: "email",43 input: "invalid-email",44 })45 ).toBe("Ongeldig: emailadres");46});47 