diff options
author | Chimrod <> | 2023-09-25 11:37:23 +0200 |
---|---|---|
committer | Chimrod <> | 2023-09-25 11:37:23 +0200 |
commit | b65767c276124fff7412ef0112929d3aab16553b (patch) | |
tree | 722f15ca0490925561fc26c973ef10ba75df0e70 /test | |
parent | 000d8bcc955e57b8e1278c05763eff5bd97862b8 (diff) |
Name clash correction
Diffstat (limited to 'test')
-rw-r--r-- | test/dune | 2 | ||||
-rw-r--r-- | test/qsp_parser_test.ml | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |