diff --git a/ocaml/idl/schematest.ml b/ocaml/idl/schematest.ml index c375a909149..0afe0a10be1 100644 --- a/ocaml/idl/schematest.ml +++ b/ocaml/idl/schematest.ml @@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex (* BEWARE: if this changes, check that schema has been bumped accordingly in ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *) -let last_known_schema_hash = "428caff23cdb969c59a9960beefd7bb6" +let last_known_schema_hash = "60590fa3fa2f8af66d9bf3c50b7bacc2" let current_schema_hash : string = let open Datamodel_types in @@ -19,11 +19,10 @@ let () = if last_known_schema_hash <> current_schema_hash then ( Printf.eprintf {| - New schema hash ('%s') doesn't match the last known one. Please bump the -datamodel schema versions if necessary, and update 'last_known_schema_hash'. - +datamodel schema versions if necessary, and update 'last_known_schema_hash' +in file %s. |} - current_schema_hash ; + current_schema_hash __FILE__ ; exit 1 )