Skip to content

Commit

Permalink
add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoy-googly-moogly committed Jan 11, 2025
1 parent 813b3a6 commit 7f9dc9a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/src/databases/all/compound-atomic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,18 @@ describe.each(runtimes.runtimeList)(
{val: 1, name: 'uno'},
]);
});
test('group_by repeated record', async () => {
await expect(`
run: ${conName}.sql(""" ${selectAB('ab')} """) -> { group_by: ab }
`).malloyResultMatches(runtime, {ab: ab_eq});
});
// test for https://github.com/malloydata/malloy/issues/2065
test('nest a group_by repeated record', async () => {
await expect(`
run: ${conName}.sql(""" ${selectAB('ab')} """)
-> { nest: gab is {group_by: ab} }
`).malloyResultMatches(runtime, {ab: ab_eq});
});
});
}
);
Expand Down

0 comments on commit 7f9dc9a

Please sign in to comment.