1
0
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:
lana-k
2021-06-17 12:23:44 +02:00
parent 2abd42c9c3
commit cf4b83f7d4
2 changed files with 3 additions and 3 deletions

View File

@@ -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 ']