-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Initial run at draft/2019-04 tests, complete with output #265
Conversation
@gregsdennis thanks! This is obviously too big to review as-is, so still thinking about how to do that, but at least the tests are failing because the schema for tests themselves has now changed to add the output. I suppose the cheap way to fix that is to remove the |
I think (maybe) looking at some of the larger, more deeply nested ones then assuming the others follow suit would be okay . Other than that, ¯\_(ツ)_/¯ |
I think another thing after I sent that is (assuming the new draft is fully backwards compatible) first merging a complete copy over, such that what's left is at least purely the diff from what's already here. I'm going to try that later, unless you mind giving that a shot perchance and beat me to it. |
@Julian off the top of my head the main incompatibilities are is that However, it's still entirely valid to use Anyway, those are pretty simple changes so I think copy, commit, and then PR the copies would make sense. |
Sure. If you'd like to split the migration of draft 7 -> 8 from the addition of the output, that's fine. Just let me know. It's simple enough to generate the output. I didn't think about the keyword differences. It's probably a good idea to migrate the tests first. |
OK, pushed a straight up copy (without yet handling the renames) to Will now need to handle reviewing that, and then handling the changes @handrews mentioned (thanks!) |
Straight up copy Draft 7 tests to Draft 2019-06.
I'll update this when we're happy that the new draft suite is ready. |
Github just closed this for some reason. And the reopen button is gone too. Thanks GitHub :/ |
GH merged the changes! ???!! |
Github closed the associated issue (#247) because the first post says "Resolves #NUMBER". I'm assuming you're referencing the issue as opposed to the PR, which cannot be re-opened once merged. |
No, we can't figure out why this was merged. It's understandable that the issue closed when this merged, but why did this merge? |
Just to confirm @Julian you did NOT merge this PR yourself? |
If so, I'll contact github =] |
You guys seem more interested in the mystery than I was :D I merged the other PR (#267). But, now looking, all that it looks like happened here is that @gregsdennis it looks like you put the commits from #265 on your master branch, then put commits after that that essentially reverted the ones adding output (e.g. 1ce104f), then branched off of that to create the defs branch. So when I merged that, the commits adding output were in fact merged (and then reverted by later commits). |
It's still dumb IMHO by the way that GitHub won't let me reopen the PR, as a marker (as if it were an issue), but whatever. |
Given you can close manually, I would guess you CAN open manually, but only IF the code hasn't been merged. |
Oh. Oops. |
Hard-reset the branch if you have to, that's simpler than any other option. |
I've already opened a new PR. |
This is essentially the draft-07 test suite with the addition of the expected output. I generated the output as I ran the test suite in Manatee.Json.
It's missing a few things:
zeroTerminatedFloats: "a float is not an integer even without fractional part"
just isn't going to happen since I don't save the string representation of numeric values, so I can't test for integer vs fraction-less float).Resolves #247