Skip to content

Commit

Permalink
Agrego .gitattributes para forzar EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego F committed Jul 10, 2018
1 parent 4dbc268 commit 8aae881
Show file tree
Hide file tree
Showing 58 changed files with 316 additions and 315 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
text eol=lf
14 changes: 7 additions & 7 deletions test/fixtures/adapt.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
texts;integers
dos palabras;1
una comilla'simple;2
dos comillas"dobles";3
varios `, \ y /;4
;5
% pct;
texts;integers
dos palabras;1
una comilla'simple;2
dos comillas"dobles";3
varios `, \ y /;4
;5
% pct;
;
8 changes: 4 additions & 4 deletions test/fixtures/all-types.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
texto;entero;numero;grande;doble;boleano;fecha;marcadetiempo
hello;4;3.141592;1234567890;1.12e-101;t;2011-4-15;1969-05-06 00:10:00 -3:00
bye;5;3.141593;1234567890;1.12e-101;f;14-2-1999;2016-11-21 10:00:01
;;;0;0.0;;;
texto;entero;numero;grande;doble;boleano;fecha;marcadetiempo
hello;4;3.141592;1234567890;1.12e-101;t;2011-4-15;1969-05-06 00:10:00 -3:00
bye;5;3.141593;1234567890;1.12e-101;f;14-2-1999;2016-11-21 10:00:01
;;;0;0.0;;;
8 changes: 4 additions & 4 deletions test/fixtures/booleans-text.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
b1;b2;b3
t;1;y
t;0;n
f;0;n
b1;b2;b3
t;1;y
t;0;n
f;0;n
8 changes: 4 additions & 4 deletions test/fixtures/booleans.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
b1;b2;b3;b4
t;1;y;s
t;0;n;
f;0;n;
b1;b2;b3;b4
t;1;y;s
t;0;n;
f;0;n;
6 changes: 3 additions & 3 deletions test/fixtures/broken-lines.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
txt1;txt2;txt3
uno;dos;tres
una;linea
txt1;txt2;txt3
uno;dos;tres
una;linea
partida;catr
10 changes: 5 additions & 5 deletions test/fixtures/columns-with-spaces.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mi text;mi int;mi num;mi big;mi double
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0
mi text;mi int;mi num;mi big;mi double
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0

10 changes: 5 additions & 5 deletions test/fixtures/comma-align-nulls.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text-field;int-field;numerico-el-1;todosnulos;numerico-el-2
hello;1;3.141592;;
;2;3;;212.2
hello my friend;1;2;;
ciao;;4;;
text-field;int-field;numerico-el-1;todosnulos;numerico-el-2
hello;1;3.141592;;
;2;3;;212.2
hello my friend;1;2;;
ciao;;4;;
hola mi amigo;32;;;444.43
18 changes: 9 additions & 9 deletions test/fixtures/comma-align-one-column.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
text-field
hello
ciao
hello my friend
ciao
hola mi amigo
el texto más largo de toooooodos los textos
a
bb
text-field
hello
ciao
hello my friend
ciao
hola mi amigo
el texto más largo de toooooodos los textos
a
bb
ccc
12 changes: 6 additions & 6 deletions test/fixtures/comma-align-with-max.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text-field;int-field;numerico-el-1
hello;1;3.141592
ciao;2;3
hola mi amigo;5;34
hello my friend;1;2
ciao;32;4
text-field;int-field;numerico-el-1
hello;1;3.141592
ciao;2;3
hola mi amigo;5;34
hello my friend;1;2
ciao;32;4
10 changes: 5 additions & 5 deletions test/fixtures/comma-align.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text-field;int-field;numerico-el-1
hello;1;3.141592
ciao;2;3
hello my friend;1;2
ciao;2;4
text-field;int-field;numerico-el-1
hello;1;3.141592
ciao;2;3
hello my friend;1;2
ciao;2;4
hola mi amigo;32;34
12 changes: 6 additions & 6 deletions test/fixtures/csv-harder.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"rnum";"txt"
1;"txt 1"
2;"incluye separator(;)"
3;"txt con "" doble"
4;"txt con ' simple"
5;"incluye delimiter("")"
"rnum";"txt"
1;"txt 1"
2;"incluye separator(;)"
3;"txt con "" doble"
4;"txt con ' simple"
5;"incluye delimiter("")"
12 changes: 6 additions & 6 deletions test/fixtures/csv-simple.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"rnum";"username";"txt";"rn2";"rol"
1;"ejemplo 1";"txt 1";101;"tes1"
2;"ejemplo 2";"txt 2";102;"tes2"
3;"ejemplo 3";"txt raro "" con comilla";103;"tes3"
4;"ejemplo 4";"dos "" comillas """;104;"tes4"
"rnum";"username";"txt";"rn2";"rol"
1;"ejemplo 1";"txt 1";101;"tes1"
2;"ejemplo 2";"txt 2";102;"tes2"
3;"ejemplo 3";"txt raro "" con comilla";103;"tes3"
4;"ejemplo 4";"dos "" comillas """;104;"tes4"

8 changes: 4 additions & 4 deletions test/fixtures/dates.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
date1;date2;date3
2016/11/21;2011-4-15;2/2/1969
21/1/2010;14-2-1999;20/3/1969
1969/05/06;1969-2-2;
date1;date2;date3
2016/11/21;2011-4-15;2/2/1969
21/1/2010;14-2-1999;20/3/1969
1969/05/06;1969-2-2;
10 changes: 5 additions & 5 deletions test/fixtures/example-one.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
text-field;int-field;num-field;big;double
hello;4;3.141592;1234567890;1.12e-101
bye;5;3.141593;1234567890;1.12e-101
;;;0;0.0
text-field;int-field;num-field;big;double
hello;4;3.141592;1234567890;1.12e-101
bye;5;3.141593;1234567890;1.12e-101
;;;0;0.0

8 changes: 4 additions & 4 deletions test/fixtures/fields-ansi-lcalpha.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cone�e;esdr�julo;M�sD�as;faltan����������;1n�meroYacento;M��s
hello;1;3.141592;1234567890;1.12e-101;
me toca bot�n;4;4.141592;2234567890;2.12e-101;
;;;0;0.0;
cone�e;esdr�julo;M�sD�as;faltan����������;1n�meroYacento;M��s
hello;1;3.141592;1234567890;1.12e-101;
me toca bot�n;4;4.141592;2234567890;2.12e-101;
;;;0;0.0;
8 changes: 4 additions & 4 deletions test/fixtures/fields-lcalpha.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coneñe;esdrújulo;MásDías;faltanÁéÉíÍÚóÓöÖ;1númeroYacento;MÁás
bello;1;3.141592;1234567890;1.12e-101;
yo toca botón;4;4.141592;2234567890;2.12e-101;
;;;0;0.0;
coneñe;esdrújulo;MásDías;faltanÁéÉíÍÚóÓöÖ;1númeroYacento;MÁás
bello;1;3.141592;1234567890;1.12e-101;
yo toca botón;4;4.141592;2234567890;2.12e-101;
;;;0;0.0;
10 changes: 5 additions & 5 deletions test/fixtures/fields-lcnames.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
text-FIELD;int-field;Num-Field;BIG;douBLe
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0
text-FIELD;int-field;Num-Field;BIG;douBLe
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0

10 changes: 5 additions & 5 deletions test/fixtures/fields-unmod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
text-FIELD;int-field;Num-Field;BIG;douBLe;INT-FIELD
hello;1;3.141592;1234567890;1.12e-101;4
hella;4;3.141594;1234567894;1.12e-101;4
;;;0;0.0;0
text-FIELD;int-field;Num-Field;BIG;douBLe;INT-FIELD
hello;1;3.141592;1234567890;1.12e-101;4
hella;4;3.141594;1234567894;1.12e-101;4
;;;0;0.0;0

40 changes: 20 additions & 20 deletions test/fixtures/insert-limit.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
veinte;20
40 changes: 20 additions & 20 deletions test/fixtures/insert-limit2.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
veinte;20
12 changes: 6 additions & 6 deletions test/fixtures/mssql-comma-align.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text col;num col
pi;3.141592
one or two;1.2
four and five;4.5
sixty seven dot three;67.3
;
text col;num col
pi;3.141592
one or two;1.2
four and five;4.5
sixty seven dot three;67.3
;
10 changes: 5 additions & 5 deletions test/fixtures/mssql-example-one.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
text col;int col;num col;big col;double col
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0
text col;int col;num col;big col;double col
hello;1;3.141592;1234567890;1.12e-101
hella;4;3.141594;1234567890;1.12e-101
;;;0;0.0

40 changes: 20 additions & 20 deletions test/fixtures/mssql-insert-limit.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
texto;numero
uno;1
dos;2
tres;3
cuatro;4
cinco;5
seis;6
siete;7
ocho;8
nueve;9
diez;10
once;11
doce;12
trece;13
catorce;14
quince;15
dieciseis;16
diecisiete;17
dieciocho;18
diecinueve;19
veinte;20
12 changes: 6 additions & 6 deletions test/fixtures/mssql-with-drop-table.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text col;num col
pi;3.141592
one or two;1.2
four and five;4.5
sixty seven dot three;67.3
;
text col;num col
pi;3.141592
one or two;1.2
four and five;4.5
sixty seven dot three;67.3
;
14 changes: 7 additions & 7 deletions test/fixtures/mysql-adapt.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
texts;integers
dos palabras;1
una comilla'simple;2
dos comillas"dobles";3
varios `, \ y /;4
;5
% pct;
texts;integers
dos palabras;1
una comilla'simple;2
dos comillas"dobles";3
varios `, \ y /;4
;5
% pct;
;
Loading

0 comments on commit 8aae881

Please sign in to comment.