-
-
Notifications
You must be signed in to change notification settings - Fork 46
Add #:wrap to radio-group (was added in input-group) #10
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
Conversation
|
@jeapostrophe thoughts on this? I'm likely to merge this soon to fix the test failures. |
|
This still seems to have an error: By the way, to run the tests, just go to the |
|
Looks like the problem is that the contract for |
|
Hi Sam, so I ran the tests (previously I drilled down to formlets and ran the tests directly, but that didn't seem to work, pulling in my local install of racket rather than the changed code). I see no errors in any of the tests, except that I have lots of "collection not found for module path tests/eli-tester" and then the whole suites seem to exit. As for contracts, I have indeed not rewritten them, since I didn't realize this. I will try and look into this tonight (EST time), but since I have never written a contract before, I may not succeed. Will let you know. Sorry for the extra work and thanks for catching. Marc |
|
I changed the contract of radio-group, but my tests (running |
Add #:wrap to radio-group (was added in input-group)
|
Thanks Marc! |
|
Unfortunately this now has a different error: |
|
Looking at this more, I don't see how this can work. In particular, the default for The function passed to |
|
Yes sorry for missing that. It should return an xexpr-forest/c. That's what all the formlet functions return and that's what wrap should return also. |
|
OK, I created a new pull request #11 , this time the contract states I will try to figure out a way to run tests on my local branch (some seem to run, but others fail when trying to load various modules - maybe I just need to install them). Sorry that it led to so much back and forth on a tiny issue. |
Correcting the bug where only input-group had the #:wrap parameter, but not radio-group.
Again, didn't test it, as I need to figure out how to test my local branch.