vendredi 30 janvier 2015

Fitnesse API returning tables with rows out of order

First I want to say that I am very new to fitnesse, in fact I am just starting to kick the tires.


So I have a test page with the following content:


| eg.Division |


| numerator | denominator | quotient? |


| 10 | 2 | 5.0 |


| 12.6 | 3 | 4.2 |


| 22 | 7 | ~=3.14 |


| 9 | 3 | <5 |


| 11 | 2 | 4<_<6 |


| 100 | 4 | 33 |


However, when I call the API to get the data the rows come out of order so it is hard to see the columns.


Output:



{
tables: [
{
9: "3",
10: "2",
11: "2",
22: "7",
100: "4",
eg.Division: { },
12.6: "3",
numerator: "denominator"
}
]
}

Aucun commentaire:

Enregistrer un commentaire