-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(firestore): add limit_to_last samples #4196
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
Changes from all commits
f5f3744
026d256
6a57a38
2d58dcb
98ca8ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,6 +235,10 @@ def test_order_where_limit(): | |
snippets.order_where_limit() | ||
|
||
|
||
def test_order_limit_to_last(): | ||
snippets.order_limit_to_last() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it make sense to check the output? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @IlyaFaer Could you comment on this? You can return the results in the function and check them here if that's easier than checking the string output. results = snippets.order_limit_to_last()
assert ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, that slipped my radars. Yeah, I thought about that, but most of the snippets tests are written this way - just a call to snippet function. So, as I see it, if we're gonna add an There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alright. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you create an issue for it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, will make a /cc to you when created. And I think I'll do this |
||
|
||
|
||
def test_order_where_invalid(): | ||
snippets.order_where_invalid() | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.