Skip to content

Commit ac1611c

Browse files
committed
Move a test around
1 parent 3417bcf commit ac1611c

File tree

1 file changed

+5
-13
lines changed
  • tests/test-dirs/syntax-document/language-extensions.t

1 file changed

+5
-13
lines changed

tests/test-dirs/syntax-document/language-extensions.t/run.t

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,11 @@ Convenience function to ensure we haven't made any syntax errors.
642642
^
643643
Zero-alloc strict annotation
644644

645+
$ syn_doc_name zero_alloc.ml 6 3
646+
(g[@zero_alloc assume]) x
647+
^
648+
No documentation found
649+
645650
$ syn_doc_name zero_alloc.ml 6 10
646651
(g[@zero_alloc assume]) x
647652
^
@@ -831,16 +836,3 @@ Convenience function to ensure we haven't made any syntax errors.
831836
module type S = S with M
832837
^
833838
No documentation found
834-
835-
// Don't show documentation for uninteresting things
836-
837-
$ cat > nodoc.ml << EOF
838-
> let () = foo [@@zero_alloc]
839-
> EOF
840-
841-
$ syntax_errors nodoc.ml
842-
843-
$ syn_doc_name nodoc.ml 1 10
844-
let () = foo [@@zero_alloc]
845-
^
846-
No documentation found

0 commit comments

Comments
 (0)