diff --git a/xml_converter/integration_tests/run_tests.py b/xml_converter/integration_tests/run_tests.py index c3a5d8a5..99b2bc0d 100755 --- a/xml_converter/integration_tests/run_tests.py +++ b/xml_converter/integration_tests/run_tests.py @@ -263,7 +263,7 @@ def diff_dirs(actual_output_dir: str, expected_output_dir: str) -> bool: if len_diff(diff) != 0: diff_found = True - print("XML output was incorrect for test") + print("Output was incorrect for test") for line in diff: print(line) diff --git a/xml_converter/integration_tests/src/proto_utils.py b/xml_converter/integration_tests/src/proto_utils.py index 38e937e7..115689b1 100644 --- a/xml_converter/integration_tests/src/proto_utils.py +++ b/xml_converter/integration_tests/src/proto_utils.py @@ -16,7 +16,7 @@ def compare_protos( expected_textproto = get_waypoint_textproto(expected_proto_path) actual_textproto = get_waypoint_textproto(actual_proto_path) - diff = list(difflib.unified_diff(expected_textproto.split("\n"), actual_textproto.split("\n"), fromfile=expected_proto_path, tofile=actual_proto_path, lineterm="")) + diff = list(difflib.unified_diff(actual_textproto.split("\n"), expected_textproto.split("\n"), fromfile=actual_proto_path, tofile=expected_proto_path, lineterm="")) if len(diff) == 0: diff = ["Something went wrong diffing {} and {}.".format(expected_proto_path, actual_proto_path)]