Browse Source

Added more testing for negative numbers with white space

pull/8/head
Bill Burke 11 years ago
parent
commit
aed7f11168
  1. 7
      tests.js

7
tests.js

@ -368,7 +368,7 @@ var tests = [ @@ -368,7 +368,7 @@ var tests = [
]
},
{
input: "F1,F2,F3\n2,-2, 2\n 2. ,.2, .2 ",
input: "F1,F2,F3\n2,-2, 2\n 2. ,.2, .2 \n-2., -2.0, -.4 ",
cases: [
{
config: { delimiter: ",", header: true, dynamicTyping: true },
@ -389,6 +389,11 @@ var tests = [ @@ -389,6 +389,11 @@ var tests = [
"F1": 2,
"F2": .2,
"F3": .2
},
{
"F1": -2,
"F2": -2,
"F3": -0.4
}
]
},

Loading…
Cancel
Save