-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate css-support to cram tests #454
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
…s-support-test-to-typesafety * 'main' of github.com:/davesnx/styled-ppx: Add `justify-self` support (#453)
New nightly version has been published to the NPM registry: @davesnx/[email protected]. |
710fb3b
to
6546b1f
Compare
6546b1f
to
bf0b97a
Compare
@@ -31,36 +31,36 @@ let error_tests_data = | |||
), | |||
( | |||
"@media $", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like white space is not counted as a character (and in other tests)
/* let lnum = | ||
switch (Driver.container_lnum_ref^) { | ||
| Some(lnum) => lnum | ||
| None => d.loc.loc_start.pos_lnum | ||
}; | ||
let loc_start = {...d.loc.loc_start, pos_lnum: lnum}; | ||
let loc_end = {...d.loc.loc_end, pos_lnum: lnum}; | ||
let _hack_loc = {...d.loc, loc_start, loc_end}; */ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this?
Thanks for the refactoring and improvements 👍 |
This PR moves all css-support into separate cram tests, making sure it type-checks against styled-ppx.css_native and styled-ppx.emotion_native.
I fixed the issues in this PR as well and added a dune_describe_pp to see the preprocessed output (and keep same behaviour as css-supported.expected)