Skip to content

Commit

Permalink
ocamlformat 0.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Jul 26, 2024
1 parent 40f1ae7 commit 4ad5d0e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .ocamlformat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version=0.26.1
version=0.26.2
quiet=true
profile=default

m=80
margin=80
break-infix-before-func=false
break-infix=fit-or-vertical
cases-exp-indent=2
Expand Down
5 changes: 1 addition & 4 deletions packages/parser/lib/Parser_location.ml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ let update_pos_lnum (a : Ppxlib.location) (b : Ppxlib.location) =
}
in
let loc_end =
{
a.loc_end with
pos_lnum = a.loc_end.pos_lnum + b.loc_start.pos_lnum - 1;
}
{ a.loc_end with pos_lnum = a.loc_end.pos_lnum + b.loc_start.pos_lnum - 1 }
in
{ a with loc_start; loc_end }
13 changes: 6 additions & 7 deletions packages/runtime/test/test_styles.ml
Original file line number Diff line number Diff line change
Expand Up @@ -653,13 +653,12 @@ let style_tag =
let global_hash = "18zdck7" in
assert_string css
(Printf.sprintf
"<style data-emotion=\"css %s %s %s\" \
data-s>html{line-height:1.15;} @keyframes %s { 0%% { \
-webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); \
-ms-transform: rotate(0deg); transform: rotate(0deg); } 100%% { \
-webkit-transform: rotate(-360deg); -moz-transform: rotate(-360deg); \
-ms-transform: rotate(-360deg); transform: rotate(-360deg); } } .%s { \
display: block; }</style>"
"<style data-emotion=\"css %s %s %s\" data-s>html{line-height:1.15;} \
@keyframes %s { 0%% { -webkit-transform: rotate(0deg); -moz-transform: \
rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); } \
100%% { -webkit-transform: rotate(-360deg); -moz-transform: \
rotate(-360deg); -ms-transform: rotate(-360deg); transform: \
rotate(-360deg); } } .%s { display: block; }</style>"
global_hash animationNameHash classname_hash animationName classname)

let mq_inside_selector =
Expand Down

0 comments on commit 4ad5d0e

Please sign in to comment.