diff --git a/packages/ppx/test/css-support/animations.t/run.t b/packages/ppx/test/css-support/animations.t/run.t index 7111fd31..9a072c71 100644 --- a/packages/ppx/test/css-support/animations.t/run.t +++ b/packages/ppx/test/css-support/animations.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let foo = CSS.keyframes([| (0, [|CSS.opacity(0.)|]), diff --git a/packages/ppx/test/css-support/backgrounds-and-borders-module.t/run.t b/packages/ppx/test/css-support/backgrounds-and-borders-module.t/run.t index 183b1365..99b97207 100644 --- a/packages/ppx/test/css-support/backgrounds-and-borders-module.t/run.t +++ b/packages/ppx/test/css-support/backgrounds-and-borders-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' module Color = { module Background = { let boxDark = `hex("000000"); diff --git a/packages/ppx/test/css-support/basic-user-interface-module.t/run.t b/packages/ppx/test/css-support/basic-user-interface-module.t/run.t index 7a8f09e4..00ab7293 100644 --- a/packages/ppx/test/css-support/basic-user-interface-module.t/run.t +++ b/packages/ppx/test/css-support/basic-user-interface-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.boxSizing(`borderBox); CSS.boxSizing(`contentBox); diff --git a/packages/ppx/test/css-support/box-alignment-module.t/run.t b/packages/ppx/test/css-support/box-alignment-module.t/run.t index 9a99708f..0fdb5fc1 100644 --- a/packages/ppx/test/css-support/box-alignment-module.t/run.t +++ b/packages/ppx/test/css-support/box-alignment-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.alignSelf(`auto); CSS.alignSelf(`normal); diff --git a/packages/ppx/test/css-support/box-sizing-module.t/run.t b/packages/ppx/test/css-support/box-sizing-module.t/run.t index f30c0355..67b3c33b 100644 --- a/packages/ppx/test/css-support/box-sizing-module.t/run.t +++ b/packages/ppx/test/css-support/box-sizing-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.width(`maxContent); CSS.width(`minContent); diff --git a/packages/ppx/test/css-support/calc.t/run.t b/packages/ppx/test/css-support/calc.t/run.t index 1f6efbd7..75d73040 100644 --- a/packages/ppx/test/css-support/calc.t/run.t +++ b/packages/ppx/test/css-support/calc.t/run.t @@ -12,25 +12,7 @@ If this test fail means that the module is not in sync with the ppx > (preprocess (pps styled-ppx))) > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.width(`calc(`add((`percent(50.), `pxFloat(4.))))); CSS.width(`calc(`sub((`pxFloat(20.), `pxFloat(10.))))); CSS.width( diff --git a/packages/ppx/test/css-support/cascading-and-inheritance.t/run.t b/packages/ppx/test/css-support/cascading-and-inheritance.t/run.t index d594a7e1..72af3e81 100644 --- a/packages/ppx/test/css-support/cascading-and-inheritance.t/run.t +++ b/packages/ppx/test/css-support/cascading-and-inheritance.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|color|js}, {js|unset|js}); CSS.unsafe({js|fontWeight|js}, {js|unset|js}); diff --git a/packages/ppx/test/css-support/color-adjustments-module.t/run.t b/packages/ppx/test/css-support/color-adjustments-module.t/run.t index 5ababf59..aa5260b0 100644 --- a/packages/ppx/test/css-support/color-adjustments-module.t/run.t +++ b/packages/ppx/test/css-support/color-adjustments-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|colorAdjust|js}, {js|economy|js}); CSS.unsafe({js|colorAdjust|js}, {js|exact|js}); diff --git a/packages/ppx/test/css-support/color-module.t/run.t b/packages/ppx/test/css-support/color-module.t/run.t index cdd5165b..8928343b 100644 --- a/packages/ppx/test/css-support/color-module.t/run.t +++ b/packages/ppx/test/css-support/color-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.color(`rgba((0, 0, 0, `num(0.5)))); CSS.color(`hex({js|F06|js})); diff --git a/packages/ppx/test/css-support/compositingand-blending.t/run.t b/packages/ppx/test/css-support/compositingand-blending.t/run.t index f37ac619..dc4bbde2 100644 --- a/packages/ppx/test/css-support/compositingand-blending.t/run.t +++ b/packages/ppx/test/css-support/compositingand-blending.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|mixBlendMode|js}, {js|normal|js}); CSS.unsafe({js|mixBlendMode|js}, {js|multiply|js}); diff --git a/packages/ppx/test/css-support/containment-module.t/run.t b/packages/ppx/test/css-support/containment-module.t/run.t index ec285b37..51325d9e 100644 --- a/packages/ppx/test/css-support/containment-module.t/run.t +++ b/packages/ppx/test/css-support/containment-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|contain|js}, {js|none|js}); CSS.unsafe({js|contain|js}, {js|strict|js}); diff --git a/packages/ppx/test/css-support/content.t/run.t b/packages/ppx/test/css-support/content.t/run.t index 832854c3..445623ec 100644 --- a/packages/ppx/test/css-support/content.t/run.t +++ b/packages/ppx/test/css-support/content.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|quotes|js}, {js|auto|js}); diff --git a/packages/ppx/test/css-support/display-module.t/run.t b/packages/ppx/test/css-support/display-module.t/run.t index 490c3bb4..6fbd01aa 100644 --- a/packages/ppx/test/css-support/display-module.t/run.t +++ b/packages/ppx/test/css-support/display-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.display(`runIn); CSS.display(`flow); diff --git a/packages/ppx/test/css-support/easing-functions.t/run.t b/packages/ppx/test/css-support/easing-functions.t/run.t index 23897517..7f9f3387 100644 --- a/packages/ppx/test/css-support/easing-functions.t/run.t +++ b/packages/ppx/test/css-support/easing-functions.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|transitionTimingFunction|js}, {js|steps(2, jump-start)|js}); CSS.unsafe({js|transitionTimingFunction|js}, {js|steps(2, jump-end)|js}); diff --git a/packages/ppx/test/css-support/empty-declarations.t/run.t b/packages/ppx/test/css-support/empty-declarations.t/run.t index 52467c39..7bf04d27 100644 --- a/packages/ppx/test/css-support/empty-declarations.t/run.t +++ b/packages/ppx/test/css-support/empty-declarations.t/run.t @@ -12,25 +12,7 @@ If this test fail means that the module is not in sync with the ppx > (preprocess (pps styled-ppx))) > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.style([||]); CSS.style([||]); CSS.style([||]); diff --git a/packages/ppx/test/css-support/enviroment-variables.t/run.t b/packages/ppx/test/css-support/enviroment-variables.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/enviroment-variables.t/run.t +++ b/packages/ppx/test/css-support/enviroment-variables.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/exclusions-module.t/run.t b/packages/ppx/test/css-support/exclusions-module.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/exclusions-module.t/run.t +++ b/packages/ppx/test/css-support/exclusions-module.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/filland-stroke-module.t/run.t b/packages/ppx/test/css-support/filland-stroke-module.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/filland-stroke-module.t/run.t +++ b/packages/ppx/test/css-support/filland-stroke-module.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/filter-effects-module.t/run.t b/packages/ppx/test/css-support/filter-effects-module.t/run.t index dc1fc300..e0b4bb76 100644 --- a/packages/ppx/test/css-support/filter-effects-module.t/run.t +++ b/packages/ppx/test/css-support/filter-effects-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let color = CSS.hex("333"); CSS.filter([|`none|]); diff --git a/packages/ppx/test/css-support/flex.t/run.t b/packages/ppx/test/css-support/flex.t/run.t index e6bfee57..b278b1db 100644 --- a/packages/ppx/test/css-support/flex.t/run.t +++ b/packages/ppx/test/css-support/flex.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.flexBasis(`auto); CSS.unsafe({js|flex|js}, {js|initial|js}); diff --git a/packages/ppx/test/css-support/flexible-box-layout-module.t/run.t b/packages/ppx/test/css-support/flexible-box-layout-module.t/run.t index 2dcb798f..aa858c4a 100644 --- a/packages/ppx/test/css-support/flexible-box-layout-module.t/run.t +++ b/packages/ppx/test/css-support/flexible-box-layout-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' module X = { let value = 1.; let flex1 = `num(1.); diff --git a/packages/ppx/test/css-support/fonts-module.t/run.t b/packages/ppx/test/css-support/fonts-module.t/run.t index 002d35f1..469c63a6 100644 --- a/packages/ppx/test/css-support/fonts-module.t/run.t +++ b/packages/ppx/test/css-support/fonts-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.fontFamilies([|{js|Inter Semi Bold|js}|]); CSS.fontFamilies(fonts: array(CSS.Types.FontFamilyName.t)); diff --git a/packages/ppx/test/css-support/fragmentation-module.t/run.t b/packages/ppx/test/css-support/fragmentation-module.t/run.t index 871f7a4d..010c3d51 100644 --- a/packages/ppx/test/css-support/fragmentation-module.t/run.t +++ b/packages/ppx/test/css-support/fragmentation-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|breakBefore|js}, {js|auto|js}); CSS.unsafe({js|breakBefore|js}, {js|avoid|js}); diff --git a/packages/ppx/test/css-support/grid-layout-module.t/run.t b/packages/ppx/test/css-support/grid-layout-module.t/run.t index 5728603c..1313ac17 100644 --- a/packages/ppx/test/css-support/grid-layout-module.t/run.t +++ b/packages/ppx/test/css-support/grid-layout-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.display(`grid); CSS.display(`inlineGrid); diff --git a/packages/ppx/test/css-support/interpolation-location-error.t/run.t b/packages/ppx/test/css-support/interpolation-location-error.t/run.t index 72a75341..847f5fa4 100644 --- a/packages/ppx/test/css-support/interpolation-location-error.t/run.t +++ b/packages/ppx/test/css-support/interpolation-location-error.t/run.t @@ -66,24 +66,6 @@ This test ensures the location of the error is correct The second variant type does not allow tag(s) `gri [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let grid = `gri; let a = CSS.style([|CSS.label("a"), (CSS.display(grid): CSS.rule)|]); diff --git a/packages/ppx/test/css-support/line-grid-module.t/run.t b/packages/ppx/test/css-support/line-grid-module.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/line-grid-module.t/run.t +++ b/packages/ppx/test/css-support/line-grid-module.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/lists-module.t/run.t b/packages/ppx/test/css-support/lists-module.t/run.t index 2ba8c18b..ffa3daae 100644 --- a/packages/ppx/test/css-support/lists-module.t/run.t +++ b/packages/ppx/test/css-support/lists-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|listStyleType|js}, {js|disclosure-closed|js}); CSS.unsafe({js|listStyleType|js}, {js|disclosure-open|js}); diff --git a/packages/ppx/test/css-support/logical-propertiesand-values.t/run.t b/packages/ppx/test/css-support/logical-propertiesand-values.t/run.t index 7c1a4576..efbb6434 100644 --- a/packages/ppx/test/css-support/logical-propertiesand-values.t/run.t +++ b/packages/ppx/test/css-support/logical-propertiesand-values.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|captionSide|js}, {js|inline-start|js}); CSS.unsafe({js|captionSide|js}, {js|inline-end|js}); diff --git a/packages/ppx/test/css-support/masking-module.t/run.t b/packages/ppx/test/css-support/masking-module.t/run.t index 8496eff6..2d20b1b0 100644 --- a/packages/ppx/test/css-support/masking-module.t/run.t +++ b/packages/ppx/test/css-support/masking-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|clipPath|js}, {js|url('#clip')|js}); CSS.unsafe({js|clipPath|js}, {js|inset(50%)|js}); CSS.unsafe({js|clipPath|js}, {js|path('M 20 20 H 80 V 30')|js}); diff --git a/packages/ppx/test/css-support/mathml-core.t/run.t b/packages/ppx/test/css-support/mathml-core.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/mathml-core.t/run.t +++ b/packages/ppx/test/css-support/mathml-core.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/media-interp-location-error.t/run.t b/packages/ppx/test/css-support/media-interp-location-error.t/run.t index 26090507..7eefcf4f 100644 --- a/packages/ppx/test/css-support/media-interp-location-error.t/run.t +++ b/packages/ppx/test/css-support/media-interp-location-error.t/run.t @@ -17,24 +17,6 @@ If this test fail means that the module is not in sync with the ppx Error: Parse error while reading token '(' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let _className = [%ocaml.error "Parse error while reading token '('"]; diff --git a/packages/ppx/test/css-support/motion-path-module.t/run.t b/packages/ppx/test/css-support/motion-path-module.t/run.t index c2c93379..e738fe22 100644 --- a/packages/ppx/test/css-support/motion-path-module.t/run.t +++ b/packages/ppx/test/css-support/motion-path-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|offset|js}, {js|none|js}); CSS.unsafe({js|offset|js}, {js|auto|js}); diff --git a/packages/ppx/test/css-support/multi-column-layout-module.t/run.t b/packages/ppx/test/css-support/multi-column-layout-module.t/run.t index 4cd408f0..a56ec61b 100644 --- a/packages/ppx/test/css-support/multi-column-layout-module.t/run.t +++ b/packages/ppx/test/css-support/multi-column-layout-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.columnWidth(`em(10.)); CSS.columnWidth(`auto); diff --git a/packages/ppx/test/css-support/non-valid-property-location-error-nested.t/run.t b/packages/ppx/test/css-support/non-valid-property-location-error-nested.t/run.t index 5f71796f..afaaf845 100644 --- a/packages/ppx/test/css-support/non-valid-property-location-error-nested.t/run.t +++ b/packages/ppx/test/css-support/non-valid-property-location-error-nested.t/run.t @@ -17,25 +17,7 @@ If this test fail means that the module is not in sync with the ppx Error: Unknown property 'colorx' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let selectors = CSS.style([| diff --git a/packages/ppx/test/css-support/non-valid-property-location-error.t/run.t b/packages/ppx/test/css-support/non-valid-property-location-error.t/run.t index 793b839c..8d9edfc8 100644 --- a/packages/ppx/test/css-support/non-valid-property-location-error.t/run.t +++ b/packages/ppx/test/css-support/non-valid-property-location-error.t/run.t @@ -17,25 +17,7 @@ If this test fail means that the module is not in sync with the ppx Error: Unknown property 'heightx' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.style([| CSS.display(`block), [%ocaml.error "Unknown property 'heightx'"], diff --git a/packages/ppx/test/css-support/non-valid-value-location-error-nested.t/run.t b/packages/ppx/test/css-support/non-valid-value-location-error-nested.t/run.t index 4f5985d9..8adfb4a7 100644 --- a/packages/ppx/test/css-support/non-valid-value-location-error-nested.t/run.t +++ b/packages/ppx/test/css-support/non-valid-value-location-error-nested.t/run.t @@ -17,25 +17,7 @@ If this test fail means that the module is not in sync with the ppx Error: Property 'color' has an invalid value: 'cositas' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let selectors = CSS.style([| diff --git a/packages/ppx/test/css-support/non-valid-value-location-error.t/run.t b/packages/ppx/test/css-support/non-valid-value-location-error.t/run.t index a61c7268..3366511c 100644 --- a/packages/ppx/test/css-support/non-valid-value-location-error.t/run.t +++ b/packages/ppx/test/css-support/non-valid-value-location-error.t/run.t @@ -17,25 +17,7 @@ If this test fail means that the module is not in sync with the ppx Error: Property 'display' has an invalid value: 'blocki' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' Js.log("2000"); CSS.style([| diff --git a/packages/ppx/test/css-support/overflow-module.t/run.t b/packages/ppx/test/css-support/overflow-module.t/run.t index 70f4c742..65039f9d 100644 --- a/packages/ppx/test/css-support/overflow-module.t/run.t +++ b/packages/ppx/test/css-support/overflow-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|lineClamp|js}, {js|none|js}); CSS.unsafe({js|lineClamp|js}, {js|1|js}); diff --git a/packages/ppx/test/css-support/overscroll-behavior-module.t/run.t b/packages/ppx/test/css-support/overscroll-behavior-module.t/run.t index 43344c06..5fa825aa 100644 --- a/packages/ppx/test/css-support/overscroll-behavior-module.t/run.t +++ b/packages/ppx/test/css-support/overscroll-behavior-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|overscrollBehavior|js}, {js|contain|js}); CSS.unsafe({js|overscrollBehavior|js}, {js|none|js}); diff --git a/packages/ppx/test/css-support/paiting-api.t/run.t b/packages/ppx/test/css-support/paiting-api.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/paiting-api.t/run.t +++ b/packages/ppx/test/css-support/paiting-api.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/pointer-events.t/run.t b/packages/ppx/test/css-support/pointer-events.t/run.t index bb93bcac..82dde3d6 100644 --- a/packages/ppx/test/css-support/pointer-events.t/run.t +++ b/packages/ppx/test/css-support/pointer-events.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|touchAction|js}, {js|auto|js}); CSS.unsafe({js|touchAction|js}, {js|none|js}); diff --git a/packages/ppx/test/css-support/positioned-layout-module.t/run.t b/packages/ppx/test/css-support/positioned-layout-module.t/run.t index 387f3ae5..46331c45 100644 --- a/packages/ppx/test/css-support/positioned-layout-module.t/run.t +++ b/packages/ppx/test/css-support/positioned-layout-module.t/run.t @@ -14,24 +14,6 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|position|js}, {js|sticky|js}); diff --git a/packages/ppx/test/css-support/random.t/run.t b/packages/ppx/test/css-support/random.t/run.t index 354ceceb..a695b97c 100644 --- a/packages/ppx/test/css-support/random.t/run.t +++ b/packages/ppx/test/css-support/random.t/run.t @@ -12,25 +12,7 @@ If this test fail means that the module is not in sync with the ppx > (preprocess (pps styled-ppx))) > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|scrollBehavior|js}, {js|smooth|js}); diff --git a/packages/ppx/test/css-support/regions-module.t/run.t b/packages/ppx/test/css-support/regions-module.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/regions-module.t/run.t +++ b/packages/ppx/test/css-support/regions-module.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/rhythmic-sizing.t/run.t b/packages/ppx/test/css-support/rhythmic-sizing.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/rhythmic-sizing.t/run.t +++ b/packages/ppx/test/css-support/rhythmic-sizing.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/ruby-layout-module.t/run.t b/packages/ppx/test/css-support/ruby-layout-module.t/run.t index 1e28eb6f..e63d9348 100644 --- a/packages/ppx/test/css-support/ruby-layout-module.t/run.t +++ b/packages/ppx/test/css-support/ruby-layout-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.display(`ruby); CSS.display(`rubyBase); diff --git a/packages/ppx/test/css-support/scroll-snap-module.t/run.t b/packages/ppx/test/css-support/scroll-snap-module.t/run.t index fc60b511..02a93ad0 100644 --- a/packages/ppx/test/css-support/scroll-snap-module.t/run.t +++ b/packages/ppx/test/css-support/scroll-snap-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|scrollMargin|js}, {js|0px|js}); CSS.unsafe({js|scrollMargin|js}, {js|6px 5px|js}); diff --git a/packages/ppx/test/css-support/scrollbars-module.t/run.t b/packages/ppx/test/css-support/scrollbars-module.t/run.t index 819063a4..11e319ac 100644 --- a/packages/ppx/test/css-support/scrollbars-module.t/run.t +++ b/packages/ppx/test/css-support/scrollbars-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|scrollbarColor|js}, {js|auto|js}); CSS.unsafe({js|scrollbarColor|js}, {js|dark|js}); diff --git a/packages/ppx/test/css-support/selector-interp-location-error.t/run.t b/packages/ppx/test/css-support/selector-interp-location-error.t/run.t index 4a517b7e..dea40eea 100644 --- a/packages/ppx/test/css-support/selector-interp-location-error.t/run.t +++ b/packages/ppx/test/css-support/selector-interp-location-error.t/run.t @@ -17,25 +17,7 @@ If this test fail means that the module is not in sync with the ppx Error: Parse error while reading token '2' [1] - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let _className = CSS.style([| CSS.label("_className"), diff --git a/packages/ppx/test/css-support/selectors.t/run.t b/packages/ppx/test/css-support/selectors.t/run.t index 5bbcc792..29b808c7 100644 --- a/packages/ppx/test/css-support/selectors.t/run.t +++ b/packages/ppx/test/css-support/selectors.t/run.t @@ -12,25 +12,7 @@ If this test fail means that the module is not in sync with the ppx > (preprocess (pps styled-ppx))) > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' let _chart = CSS.style([| diff --git a/packages/ppx/test/css-support/shapes-module.t/run.t b/packages/ppx/test/css-support/shapes-module.t/run.t index fde68a52..18c58437 100644 --- a/packages/ppx/test/css-support/shapes-module.t/run.t +++ b/packages/ppx/test/css-support/shapes-module.t/run.t @@ -14,22 +14,4 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' diff --git a/packages/ppx/test/css-support/svg.t/run.t b/packages/ppx/test/css-support/svg.t/run.t index 1c1fcdee..7b59ea24 100644 --- a/packages/ppx/test/css-support/svg.t/run.t +++ b/packages/ppx/test/css-support/svg.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.pointerEvents(`auto); diff --git a/packages/ppx/test/css-support/text-decoration.t/run.t b/packages/ppx/test/css-support/text-decoration.t/run.t index 0f999a2e..901380ac 100644 --- a/packages/ppx/test/css-support/text-decoration.t/run.t +++ b/packages/ppx/test/css-support/text-decoration.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.textDecorationLine(`none); CSS.textDecorationLine(`underline); diff --git a/packages/ppx/test/css-support/text-module.t/run.t b/packages/ppx/test/css-support/text-module.t/run.t index 93b2a7a4..12c09fea 100644 --- a/packages/ppx/test/css-support/text-module.t/run.t +++ b/packages/ppx/test/css-support/text-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|textTransform|js}, {js|full-width|js}); CSS.unsafe({js|textTransform|js}, {js|full-size-kana|js}); diff --git a/packages/ppx/test/css-support/transforms-module.t/run.t b/packages/ppx/test/css-support/transforms-module.t/run.t index b5b76985..960b29db 100644 --- a/packages/ppx/test/css-support/transforms-module.t/run.t +++ b/packages/ppx/test/css-support/transforms-module.t/run.t @@ -13,25 +13,7 @@ If this test fail means that the module is not in sync with the ppx > EOF - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.transform(`none); CSS.transform(CSS.translate(`pxFloat(5.), `zero)); diff --git a/packages/ppx/test/css-support/transitions.t/run.t b/packages/ppx/test/css-support/transitions.t/run.t index 8ab1c191..6cdf6eda 100644 --- a/packages/ppx/test/css-support/transitions.t/run.t +++ b/packages/ppx/test/css-support/transitions.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.transitionProperty({js|none|js}); CSS.transitionProperty({js|all|js}); diff --git a/packages/ppx/test/css-support/values-and-units-module.t/run.t b/packages/ppx/test/css-support/values-and-units-module.t/run.t index 175c5584..862d2f09 100644 --- a/packages/ppx/test/css-support/values-and-units-module.t/run.t +++ b/packages/ppx/test/css-support/values-and-units-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.width(`rem(5.)); CSS.width(`ch(5.)); CSS.width(`vw(5.)); diff --git a/packages/ppx/test/css-support/vertical-align.t/run.t b/packages/ppx/test/css-support/vertical-align.t/run.t index 5769ee42..984dc345 100644 --- a/packages/ppx/test/css-support/vertical-align.t/run.t +++ b/packages/ppx/test/css-support/vertical-align.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.verticalAlign(`baseline); CSS.verticalAlign(`sub); CSS.verticalAlign(`super); diff --git a/packages/ppx/test/css-support/will-change-module.t/run.t b/packages/ppx/test/css-support/will-change-module.t/run.t index 9a603039..164e8fc5 100644 --- a/packages/ppx/test/css-support/will-change-module.t/run.t +++ b/packages/ppx/test/css-support/will-change-module.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|willChange|js}, {js|scroll-position|js}); CSS.unsafe({js|willChange|js}, {js|contents|js}); diff --git a/packages/ppx/test/css-support/writing-modes.t/run.t b/packages/ppx/test/css-support/writing-modes.t/run.t index c204ca3f..3b0097cc 100644 --- a/packages/ppx/test/css-support/writing-modes.t/run.t +++ b/packages/ppx/test/css-support/writing-modes.t/run.t @@ -14,25 +14,7 @@ If this test fail means that the module is not in sync with the ppx $ dune build - $ dune describe pp ./input.re - [@ocaml.ppx.context - { - tool_name: "ppx_driver", - include_dirs: [], - load_path: [], - open_modules: [], - for_package: None, - debug: false, - use_threads: false, - use_vmthreads: false, - recursive_types: false, - principal: false, - transparent_modules: false, - unboxed_types: false, - unsafe_string: false, - cookies: [], - } - ]; + $ dune describe pp ./input.re | sed '1,/^];$/d' CSS.unsafe({js|direction|js}, {js|ltr|js}); CSS.unsafe({js|direction|js}, {js|rtl|js});