Skip to content

Commit

Permalink
Fix too many newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
andersfugmann committed Jul 3, 2024
1 parent 827cbd8 commit 34adc1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/doc_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ let replace_emph =

let fix_comment doc =
let rec inner state = function
| l :: ls when String.trim l = "" -> l :: inner state ls (* Ignore empty lines *)
| l :: ls when String.starts_with ~prefix:" " l -> begin
match state with
| `In_list -> l :: inner state ls
Expand Down Expand Up @@ -343,14 +344,10 @@ let%expect_test _ =
}
}



package google.storage.v2;
service Storage {
rpc GetAcl(GetAclRequest) returns (Acl);



// Get a data record.
rpc GetData(GetDataRequest) returns (Data) {
option (google.api.http).get = "/v2/{resource=**}";
Expand Down

0 comments on commit 34adc1b

Please sign in to comment.