def METHOD_NAME(rule_runner: RuleRunner) -> None:
    rule_runner.write_files({"main.cpp": UNFORMATTED_FILE, "BUILD": "cc_sources(name='t')"})
    tgt = rule_runner.get_target(Address("", target_name="t", relative_file_path="main.cpp"))
    fmt_result = run_clangformat(
        rule_runner,
        [tgt],
    )
    assert fmt_result.output == rule_runner.make_snapshot({"main.cpp": DEFAULT_FORMATTED_FILE})
    assert fmt_result.did_change is True