diff options
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 |