From b65767c276124fff7412ef0112929d3aab16553b Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Mon, 25 Sep 2023 11:37:23 +0200 Subject: Name clash correction --- test/dune | 2 +- test/qsp_parser_test.ml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/dune b/test/dune index cbc33f6..2f4e803 100644 --- a/test/dune +++ b/test/dune @@ -2,7 +2,7 @@ (name qsp_parser_test) (libraries alcotest - qsp_parser + qparser qsp_syntax fmt ) diff --git a/test/qsp_parser_test.ml b/test/qsp_parser_test.ml index 505f905..b833fe5 100644 --- a/test/qsp_parser_test.ml +++ b/test/qsp_parser_test.ml @@ -1,4 +1,4 @@ -module Parser = Qsp_parser.Parser.Make (Qsp_syntax.Tree) +module Parser = Qparser.Parser.Make (Qsp_syntax.Tree) module Tree = Qsp_syntax.Tree module Ast = Qsp_syntax.Tree.Ast module T = Ast @@ -10,7 +10,7 @@ type 'a location = 'a * 'a Ast.statement list [@@deriving eq, show] let parse : string -> T.pos location = fun content -> let lexing = Lexing.from_string content in - Parser.main Qsp_parser.Lexer.token lexing + Parser.main Qparser.Lexer.token lexing let location : T.pos location Alcotest.testable = let equal = equal_location (fun _ _ -> true) in -- cgit v1.2.3