mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
fix csv result when column names have spaces #59
This commit is contained in:
@@ -11,8 +11,8 @@ describe('csv.js', () => {
|
||||
it('getResult with fields', () => {
|
||||
const source = {
|
||||
data: [
|
||||
{ id: 1, name: 'foo' },
|
||||
{ id: 2, name: 'bar' }
|
||||
{ id: 1, 'name ': 'foo' },
|
||||
{ id: 2, 'name ': 'bar' }
|
||||
],
|
||||
meta: {
|
||||
fields: ['id', 'name ']
|
||||
|
||||
Reference in New Issue
Block a user