test("strings", () => {
    const messager = () => "error";
    const result = required(messager)("str");
    assert.deepStrictEqual(result, {
      error: false,