def METHOD_NAME(get_entity_mock):
    """Newlines aren't allowed in lang files"""
    assert run_checks(get_entity_mock("lang"), "", "aaa\nbbb") == {
        "pErrors": ["Newline characters are not allowed"]
    }
    assert run_checks(get_entity_mock("po"), "", "aaa\nbbb") == {}