Skip to content

Commit c437d4d

Browse files
committed
Remove extra word in error message
1 parent 89449c7 commit c437d4d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

opam-ci-check/bin/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ let package_specs_term =
286286
Error
287287
(`Msg
288288
(Printf.sprintf
289-
"%s is an not a valid attribute. Only [src=<path>] or \
289+
"%s is not a valid attribute. Only [src=<path>] or \
290290
[new=<true|false>] allowed"
291291
s))
292292
in

opam-ci-check/test/lint.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Test for invalid attributes that are properly formed
1515

1616
$ opam-ci-check lint -r . 'foo.0.1.0:bar=baz'
1717
opam-ci-check: pkg_spec… arguments: invalid element in list ('bar=baz'):
18-
bar=baz is an not a valid attribute. Only [src=<path>] or
18+
bar=baz is not a valid attribute. Only [src=<path>] or
1919
[new=<true|false>] allowed
2020
Usage: opam-ci-check lint [--checks=VAL] [--quiet] [--opam-repository=VAL] [OPTION]… [pkg_spec]…
2121
Try 'opam-ci-check lint --help' or 'opam-ci-check --help' for more information.
@@ -34,7 +34,7 @@ Test for a missing value
3434

3535
$ opam-ci-check lint -r . 'foo.0.1.0:src='
3636
opam-ci-check: pkg_spec… arguments: invalid element in list ('src='): src=
37-
is an not a valid attribute. Only [src=<path>] or
37+
is not a valid attribute. Only [src=<path>] or
3838
[new=<true|false>] allowed
3939
Usage: opam-ci-check lint [--checks=VAL] [--quiet] [--opam-repository=VAL] [OPTION]… [pkg_spec]…
4040
Try 'opam-ci-check lint --help' or 'opam-ci-check --help' for more information.
@@ -44,8 +44,8 @@ Test for a valid key with no value
4444

4545
$ opam-ci-check lint -r . 'foo.0.1.0:src'
4646
opam-ci-check: pkg_spec… arguments: invalid element in list ('src'): src is
47-
an not a valid attribute. Only [src=<path>] or
48-
[new=<true|false>] allowed
47+
not a valid attribute. Only [src=<path>] or [new=<true|false>]
48+
allowed
4949
Usage: opam-ci-check lint [--checks=VAL] [--quiet] [--opam-repository=VAL] [OPTION]… [pkg_spec]…
5050
Try 'opam-ci-check lint --help' or 'opam-ci-check --help' for more information.
5151
[124]

0 commit comments

Comments
 (0)