Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit de796e5

Browse files
committed
Fixed '*' in upcomming release
1 parent f988088 commit de796e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cds.ql.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe('cds.ql → cqn', () => {
111111
.to.eql(SELECT.from(Foo).columns('*'))
112112
.to.eql(SELECT.from(Foo).columns((foo) => foo('*')))
113113
.to.eql({
114-
SELECT: { from: { ref: ['Foo'] }, columns: [{ ref: ['*'] }] },
114+
SELECT: { from: { ref: ['Foo'] }, columns: [cdr ? '*' : { ref: ['*'] }] },
115115
})
116116

117117
if (cdr === 'all') expect(parsed).to.eql(fluid)
@@ -162,7 +162,7 @@ describe('cds.ql → cqn', () => {
162162
.to.eql({
163163
SELECT: {
164164
from: { ref: ['Foo'] },
165-
columns: [{ ref: ['a'] }, { ref: ['b'] }, { ref: ['*'] }],
165+
columns: [{ ref: ['a'] }, { ref: ['b'] }, cdr ? '*' : { ref: ['*'] }],
166166
},
167167
})
168168
})
@@ -182,7 +182,7 @@ describe('cds.ql → cqn', () => {
182182
SELECT: {
183183
from: { ref: ['Foo'] },
184184
columns: [
185-
{ ref: ['*'] },
185+
cdr ? '*' : { ref: ['*'] },
186186
{ ref: ['x'] },
187187
{ ref: ['car'], expand: ['*'] },
188188
{

0 commit comments

Comments
 (0)