-
Notifications
You must be signed in to change notification settings - Fork 3
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
Protocol spec changes #211
Conversation
…assing, but test vectors need to be fixed, also need to look at the new regex pattern decimalString and see if it still works with numbers with decimal
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.
this is what's latest in tbdex main TBD54566975/tbdex@6af20c9
ci will fail - to be addressed by #221 |
} | ||
|
||
|
||
@Test | ||
fun parse_quote() { | ||
val vector = TestVectors.getVector("parse-quote.json") | ||
assertNotNull(vector) | ||
testNonErrorMessageTestVector<Quote>(vector) | ||
testSuccessMessageTestVector<Quote>(vector) | ||
} | ||
|
||
@Test | ||
fun parse_rfq() { |
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.
For the benefit of other reviews: This is one of the two tests that we expect to fail for this PR. The only other test that should fail is ValidatorTest > validateFailsWithInvalidRfqData()
. All other tests should (and do) pass.
Context: #221
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.
Great work! Slick and polished. I pinky promise to fix the two broken tests in this follow up PR #222 very soon
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.
Nice work @jiyoontbd !
blocked by TBD54566975/tbdex#293 merging