diff options
Diffstat (limited to 'tests/confLoader.ml')
-rw-r--r-- | tests/confLoader.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/confLoader.ml b/tests/confLoader.ml index 692cda9..13f9840 100644 --- a/tests/confLoader.ml +++ b/tests/confLoader.ml @@ -1,8 +1,8 @@ -let load' : string -> (ImportConf.Syntax.t, string) Result.t = +let load' : string -> (ImporterSyntax.t, string) Result.t = fun content -> Otoml.Parser.from_string content |> ImportConf.t_of_toml (** Read the configuration in toml and return the internal representation *) -let load : string -> ImportConf.Syntax.t = +let load : string -> ImporterSyntax.t = fun content -> Result.get_ok (load' content) let conf = @@ -37,7 +37,7 @@ let external_table_other = ImportDataTypes.Table.{ file = "other.xlsx"; tab = 1; name = "other" } let external_other = - ImportConf.Syntax.Extern. + ImporterSyntax.Extern. { intern_key = Path { alias = None; column = 1 }; target = external_table_other; @@ -50,7 +50,7 @@ let external_table_last = ImportDataTypes.Table.{ file = "last.xlsx"; tab = 1; name = "last_file" } let external_last = - ImportConf.Syntax.Extern. + ImporterSyntax.Extern. { intern_key = Path { alias = Some "other"; column = 1 }; target = external_table_last; |