def METHOD_NAME():
    filename = "tests/xdsl_opt/empty_program.mlir"
    opt = xDSLOptMain(args=[filename])
    f = StringIO("")
    with redirect_stdout(f):
        opt.run()
    with open(filename) as file:
        expected = file.read()
        assert f.getvalue().strip() == expected.strip()