def METHOD_NAME():
    """Update the frugal generation tests."""
    if subprocess.call(["go", "test", "./compiler", "--copy-files"]) != 0:
        raise Exception("Failed to update generated tests")
    if subprocess.call(
        [
            "frugal",
            "--gen",
            "dart:use_enums=true",
            "-r",
            "--out=dart/gen-dart",
            "frugalTest.frugal",
        ],
        cwd="./test/integration",
    ):
        raise Exception("Failed to generate Dart test code")