-
Notifications
You must be signed in to change notification settings - Fork 56
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
test: Add tests for grouping by undefined value #543
Conversation
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.
Approving assuming you apply the small suggested changes.
@@ -457,3 +457,89 @@ func TestQuerySimpleWithGroupByBooleanThenNumber(t *testing.T) { | |||
|
|||
executeTestCase(t, test) | |||
} | |||
|
|||
func TestQuerySimpleWithGroupByNumberOnundefined(t *testing.T) { |
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.
func TestQuerySimpleWithGroupByNumberOnundefined(t *testing.T) { | |
func TestQuerySimpleWithGroupByNumberOnUndefined(t *testing.T) { |
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.
my bad, these were sloppy - thanks Fred
- sort out typos/copy-pasta
executeTestCase(t, test) | ||
} | ||
|
||
func TestQuerySimpleWithGroupByNumberOnundefinedWithChildren(t *testing.T) { |
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.
func TestQuerySimpleWithGroupByNumberOnundefinedWithChildren(t *testing.T) { | |
func TestQuerySimpleWithGroupByNumberOnUndefinedWithChildren(t *testing.T) { |
|
||
func TestQuerySimpleWithGroupByNumberOnundefinedWithChildren(t *testing.T) { | ||
test := testUtils.QueryTestCase{ | ||
Description: "Simple query with group by number, no children, undefined group value", |
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.
Description: "Simple query with group by number, no children, undefined group value", | |
Description: "Simple query with group by number, with children, undefined group value", |
52e088a
to
8bfa6c8
Compare
Add tests for grouping by undefined value
Relevant issue(s)
Resolves #409
Description
Adds tests for grouping by undefined value. Was a bit surprised that this already works, but now we have tests that assert it.
Tasks
Specify the platform(s) on which this was tested: