Skip to content

Commit 85fe3f2

Browse files
committed
Add tests
1 parent 8d955a0 commit 85fe3f2

File tree

4 files changed

+828
-37
lines changed

4 files changed

+828
-37
lines changed

lib/dune_linter/test/test__dune_linter.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let original_contents =
3030
(libraries a b c))
3131

3232
(library
33-
(name foofoo)
33+
(name foo_foo)
3434
(libraries a b c))
3535

3636
(executable
@@ -121,7 +121,7 @@ let%expect_test "lint" =
121121
(match
122122
eval
123123
Dunolint.Config.Std.(
124-
`dune (library (name (equals (Dunolint.Dune.Library.Name.v "foofoo")))))
124+
`dune (library (name (equals (Dunolint.Dune.Library.Name.v "foo_foo")))))
125125
with
126126
| False | Undefined -> ()
127127
| True ->
@@ -135,7 +135,7 @@ let%expect_test "lint" =
135135
(libraries a b c))
136136

137137
(library
138-
-| (name foofoo)
138+
-| (name foo_foo)
139139
+| (name bar)
140140
(libraries a b c))
141141

0 commit comments

Comments
 (0)