aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChimrod <>2023-09-25 11:37:23 +0200
committerChimrod <>2023-09-25 11:37:23 +0200
commitb65767c276124fff7412ef0112929d3aab16553b (patch)
tree722f15ca0490925561fc26c973ef10ba75df0e70 /test
parent000d8bcc955e57b8e1278c05763eff5bd97862b8 (diff)
Name clash correction
Diffstat (limited to 'test')
-rw-r--r--test/dune2
-rw-r--r--test/qsp_parser_test.ml4
2 files changed, 3 insertions, 3 deletions
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