import difflib


def get_diff(new_source, original_source, file_path):
    """
    Get diff from two strings.
    :param new_source:
    :param original_source:
    :param file_path:
    :return: string with diff
    :rtype str
    """
    diff = difflib.unified_diff(
        original_source.splitlines(),
        new_source.splitlines(),
        file_path,
        file_path,
        "(original)",
        "(refactored)",
        lineterm="",
    )

    diff_text = "\n".join(list(diff))

    return diff_text