diff options
Diffstat (limited to 'atddiff/test/default')
15 files changed, 47 insertions, 47 deletions
diff --git a/atddiff/test/default/backward_incompatible_record.expected.txt b/atddiff/test/default/backward_incompatible_record.expected.txt index bbdc3d4..dc2af28 100644 --- a/atddiff/test/default/backward_incompatible_record.expected.txt +++ b/atddiff/test/default/backward_incompatible_record.expected.txt @@ -1,10 +1,10 @@ -Backward incompatibility: +[2283db51] Backward incompatibility: File "backward_incompatible_record_new.atd", line 2, characters 2-18: Required field 'added_field' is new. The following types are affected: backward_incompatible_record -Backward incompatibility: +[3c1ae3e6] Backward incompatibility: File "backward_incompatible_record_old.atd", line 2, characters 2-31 File "backward_incompatible_record_new.atd", line 3, characters 2-23: Formerly optional field 'becomes_required' is now required. diff --git a/atddiff/test/default/backward_incompatible_record_if_implicit_defaults.expected.txt b/atddiff/test/default/backward_incompatible_record_if_implicit_defaults.expected.txt index 12d75a8..540b391 100644 --- a/atddiff/test/default/backward_incompatible_record_if_implicit_defaults.expected.txt +++ b/atddiff/test/default/backward_incompatible_record_if_implicit_defaults.expected.txt @@ -1,4 +1,4 @@ -Possible backward incompatibility: +[1963da34] Possible backward incompatibility: File "backward_incompatible_record_if_implicit_defaults_old.atd", line 2, characters 2-24 File "backward_incompatible_record_if_implicit_defaults_new.atd", line 2, characters 2-23: Newly required field 'becomes_required' was optional but had a default value. diff --git a/atddiff/test/default/backward_incompatible_variant.expected.txt b/atddiff/test/default/backward_incompatible_variant.expected.txt index e955fd8..9b11357 100644 --- a/atddiff/test/default/backward_incompatible_variant.expected.txt +++ b/atddiff/test/default/backward_incompatible_variant.expected.txt @@ -1,4 +1,4 @@ -Backward incompatibility: +[2e6e3829] Backward incompatibility: File "backward_incompatible_variant_old.atd", line 1, characters 43-44: Case 'B' disappeared. The following types are affected: diff --git a/atddiff/test/default/changed_renamed.expected.txt b/atddiff/test/default/changed_renamed.expected.txt index 4198137..2544056 100644 --- a/atddiff/test/default/changed_renamed.expected.txt +++ b/atddiff/test/default/changed_renamed.expected.txt @@ -1,4 +1,4 @@ -Incompatibility in both directions: +[214e5646] Incompatibility in both directions: File "changed_renamed_old.atd", line 10, characters 22-26 File "changed_renamed_new.atd", line 10, characters 22-28: Type names 'int' and 'float' are not the same and may not be compatible. diff --git a/atddiff/test/default/dune b/atddiff/test/default/dune index 5ce778b..a8b118c 100644 --- a/atddiff/test/default/dune +++ b/atddiff/test/default/dune @@ -3,7 +3,7 @@ (rule (targets backward_incompatible_record_if_implicit_defaults.txt) (deps backward_incompatible_record_if_implicit_defaults_old.atd backward_incompatible_record_if_implicit_defaults_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -13,7 +13,7 @@ (rule (targets backward_incompatible_record.txt) (deps backward_incompatible_record_old.atd backward_incompatible_record_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -23,7 +23,7 @@ (rule (targets backward_incompatible_variant.txt) (deps backward_incompatible_variant_old.atd backward_incompatible_variant_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -33,7 +33,7 @@ (rule (targets changed_renamed.txt) (deps changed_renamed_old.atd changed_renamed_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -43,7 +43,7 @@ (rule (targets forward_incompatible_record_if_implicit_defaults.txt) (deps forward_incompatible_record_if_implicit_defaults_old.atd forward_incompatible_record_if_implicit_defaults_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -53,7 +53,7 @@ (rule (targets forward_incompatible_record.txt) (deps forward_incompatible_record_old.atd forward_incompatible_record_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -63,7 +63,7 @@ (rule (targets forward_incompatible_variant.txt) (deps forward_incompatible_variant_old.atd forward_incompatible_variant_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -73,7 +73,7 @@ (rule (targets ignored_type_parameters_are_ok.txt) (deps ignored_type_parameters_are_ok_old.atd ignored_type_parameters_are_ok_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -83,7 +83,7 @@ (rule (targets json_field_name_change.txt) (deps json_field_name_change_old.atd json_field_name_change_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -93,7 +93,7 @@ (rule (targets json_repr_change.txt) (deps json_repr_change_old.atd json_repr_change_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -103,7 +103,7 @@ (rule (targets json_variant_name_change.txt) (deps json_variant_name_change_old.atd json_variant_name_change_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -113,7 +113,7 @@ (rule (targets recursive.txt) (deps recursive_old.atd recursive_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -123,7 +123,7 @@ (rule (targets recursive_types.txt) (deps recursive_types_old.atd recursive_types_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -133,7 +133,7 @@ (rule (targets swapped_type_parameters.txt) (deps swapped_type_parameters_old.atd swapped_type_parameters_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -143,7 +143,7 @@ (rule (targets type_arity_change.txt) (deps type_arity_change_old.atd type_arity_change_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -153,7 +153,7 @@ (rule (targets type_name_change.txt) (deps type_name_change_old.atd type_name_change_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -163,7 +163,7 @@ (rule (targets unchanged.txt) (deps unchanged_old.atd unchanged_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) @@ -173,7 +173,7 @@ (rule (targets unchanged_renamed_nonroot_type.txt) (deps unchanged_renamed_nonroot_type_old.atd unchanged_renamed_nonroot_type_new.atd) - (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success))) + (action (run %{bin:atddiff} %{deps} -o %{targets} --exit-success ))) (rule (alias runtest) diff --git a/atddiff/test/default/forward_incompatible_record.expected.txt b/atddiff/test/default/forward_incompatible_record.expected.txt index 893bd50..59f76c1 100644 --- a/atddiff/test/default/forward_incompatible_record.expected.txt +++ b/atddiff/test/default/forward_incompatible_record.expected.txt @@ -1,10 +1,10 @@ -Forward incompatibility: +[381a0845] Forward incompatibility: File "forward_incompatible_record_old.atd", line 2, characters 2-20: Required field 'removed_field' disappeared. The following types are affected: forward_incompatible_record -Forward incompatibility: +[06b4c346] Forward incompatibility: File "forward_incompatible_record_old.atd", line 3, characters 2-23 File "forward_incompatible_record_new.atd", line 2, characters 2-31: Formerly required field 'becomes_optional' is now optional. diff --git a/atddiff/test/default/forward_incompatible_record_if_implicit_defaults.expected.txt b/atddiff/test/default/forward_incompatible_record_if_implicit_defaults.expected.txt index 3e9eadb..1af5bbd 100644 --- a/atddiff/test/default/forward_incompatible_record_if_implicit_defaults.expected.txt +++ b/atddiff/test/default/forward_incompatible_record_if_implicit_defaults.expected.txt @@ -1,4 +1,4 @@ -Possible forward incompatibility: +[2e39bd55] Possible forward incompatibility: File "forward_incompatible_record_if_implicit_defaults_old.atd", line 2, characters 2-23 File "forward_incompatible_record_if_implicit_defaults_new.atd", line 2, characters 2-24: Formerly required field 'becomes_optional' is now optional but has a default value. diff --git a/atddiff/test/default/forward_incompatible_variant.expected.txt b/atddiff/test/default/forward_incompatible_variant.expected.txt index 2f69a8e..96f700a 100644 --- a/atddiff/test/default/forward_incompatible_variant.expected.txt +++ b/atddiff/test/default/forward_incompatible_variant.expected.txt @@ -1,4 +1,4 @@ -Forward incompatibility: +[24b8e793] Forward incompatibility: File "forward_incompatible_variant_new.atd", line 1, characters 42-43: Case 'B' is new. The following types are affected: diff --git a/atddiff/test/default/json_field_name_change.expected.txt b/atddiff/test/default/json_field_name_change.expected.txt index 5375b25..7c1ed72 100644 --- a/atddiff/test/default/json_field_name_change.expected.txt +++ b/atddiff/test/default/json_field_name_change.expected.txt @@ -1,22 +1,22 @@ -Forward incompatibility: +[2befd23c] Forward incompatibility: File "json_field_name_change_old.atd", line 2, characters 2-26: Required field 'a!' disappeared. The following types are affected: with_field_renames -Forward incompatibility: +[1dad2f90] Forward incompatibility: File "json_field_name_change_old.atd", line 3, characters 2-9: Required field 'b' disappeared. The following types are affected: with_field_renames -Backward incompatibility: +[0948d4d7] Backward incompatibility: File "json_field_name_change_new.atd", line 2, characters 2-9: Required field 'a' is new. The following types are affected: with_field_renames -Backward incompatibility: +[2f0c378c] Backward incompatibility: File "json_field_name_change_new.atd", line 3, characters 2-27: Required field 'bee' is new. The following types are affected: diff --git a/atddiff/test/default/json_repr_change.expected.txt b/atddiff/test/default/json_repr_change.expected.txt index faa42ba..b0e1059 100644 --- a/atddiff/test/default/json_repr_change.expected.txt +++ b/atddiff/test/default/json_repr_change.expected.txt @@ -1,4 +1,4 @@ -Incompatibility in both directions: +[0667c515] Incompatibility in both directions: File "json_repr_change_old.atd", line 2, characters 21-40 File "json_repr_change_new.atd", line 2, characters 21-61: Incompatible kinds of types: list/array is now a map. diff --git a/atddiff/test/default/json_variant_name_change.expected.txt b/atddiff/test/default/json_variant_name_change.expected.txt index ad4a99f..06b0e31 100644 --- a/atddiff/test/default/json_variant_name_change.expected.txt +++ b/atddiff/test/default/json_variant_name_change.expected.txt @@ -1,46 +1,46 @@ -Backward incompatibility: +[142bf58a] Backward incompatibility: File "json_variant_name_change_old.atd", line 2, characters 4-5: Case 'A' disappeared. The following types are affected: with_constructor_renames -Backward incompatibility: +[148d17a6] Backward incompatibility: File "json_variant_name_change_old.atd", line 3, characters 4-12: Case 'B' disappeared. The following types are affected: with_constructor_renames -Backward incompatibility: +[3451ab10] Backward incompatibility: File "json_variant_name_change_old.atd", line 4, characters 4-23: Case 'cee' disappeared. The following types are affected: with_constructor_renames -Backward incompatibility: +[2ee9a5f5] Backward incompatibility: File "json_variant_name_change_old.atd", line 5, characters 4-30: Case 'dee' disappeared. The following types are affected: with_constructor_renames -Forward incompatibility: +[02dc524b] Forward incompatibility: File "json_variant_name_change_new.atd", line 2, characters 4-22: Case 'a!' is new. The following types are affected: with_constructor_renames -Forward incompatibility: +[3f5c23f4] Forward incompatibility: File "json_variant_name_change_new.atd", line 3, characters 4-29: Case 'b!' is new. The following types are affected: with_constructor_renames -Forward incompatibility: +[189456fd] Forward incompatibility: File "json_variant_name_change_new.atd", line 4, characters 4-5: Case 'C' is new. The following types are affected: with_constructor_renames -Forward incompatibility: +[1da9d4ce] Forward incompatibility: File "json_variant_name_change_new.atd", line 5, characters 4-12: Case 'D' is new. The following types are affected: diff --git a/atddiff/test/default/recursive.expected.txt b/atddiff/test/default/recursive.expected.txt index 0ec0696..aa4235c 100644 --- a/atddiff/test/default/recursive.expected.txt +++ b/atddiff/test/default/recursive.expected.txt @@ -1,4 +1,4 @@ -Forward incompatibility: +[0ad2992b] Forward incompatibility: File "recursive_new.atd", line 9, characters 52-53: Case 'B' is new. The following types are affected: diff --git a/atddiff/test/default/swapped_type_parameters.expected.txt b/atddiff/test/default/swapped_type_parameters.expected.txt index 264e800..4b06109 100644 --- a/atddiff/test/default/swapped_type_parameters.expected.txt +++ b/atddiff/test/default/swapped_type_parameters.expected.txt @@ -1,4 +1,4 @@ -Incompatibility in both directions: +[29041e94] Incompatibility in both directions: File "swapped_type_parameters_old.atd", line 3, characters 0-61 File "swapped_type_parameters_new.atd", line 3, characters 0-61: Incompatible type variables are being used. diff --git a/atddiff/test/default/type_arity_change.expected.txt b/atddiff/test/default/type_arity_change.expected.txt index 9fa1d0f..c06cf3c 100644 --- a/atddiff/test/default/type_arity_change.expected.txt +++ b/atddiff/test/default/type_arity_change.expected.txt @@ -1,4 +1,4 @@ -Incompatibility in both directions: +[319de7a2] Incompatibility in both directions: File "type_arity_change_old.atd", line 1, characters 0-48 File "type_arity_change_new.atd", line 1, characters 0-42: Incompatible type variables are being used. diff --git a/atddiff/test/default/type_name_change.expected.txt b/atddiff/test/default/type_name_change.expected.txt index 3980191..2f0a9d2 100644 --- a/atddiff/test/default/type_name_change.expected.txt +++ b/atddiff/test/default/type_name_change.expected.txt @@ -1,22 +1,22 @@ -Possible backward incompatibility: +[20f6af79] Possible backward incompatibility: File "type_name_change_old.atd", line 2, characters 0-33: The definition for type 'old_name_for_root_type' no longer exists. The following types are affected: old_name_for_root_type -Possible backward incompatibility: +[23b8d853] Possible backward incompatibility: File "type_name_change_old.atd", line 5, character 0 to line 7, character 1: The definition for type 'old_name_for_root_type_with_changes' no longer exists. The following types are affected: old_name_for_root_type_with_changes -Possible forward incompatibility: +[3ad32ed9] Possible forward incompatibility: File "type_name_change_new.atd", line 2, characters 0-33: There is a new type named 'new_name_for_root_type'. The following types are affected: new_name_for_root_type -Possible forward incompatibility: +[1b1d2804] Possible forward incompatibility: File "type_name_change_new.atd", line 5, character 0 to line 7, character 1: There is a new type named 'new_name_for_root_type_with_changes'. The following types are affected: |