Closed weijia18 closed 10 months ago
@ocavue, could you have a check?
Could you add some tests here? Thanks!
I am sorry that i am not aware of adding a test for that fix,since this is my first time to contribute to the opening community
@ocavue I have added two new test cases for deleteRow, is these enough? Please have a check.
Thanks! Your code looks great. I will release it today.
The original table
The table after deleting a row
the cell whose colspan is 2 marked in the green box is inserted twice. In this commit, I added a variable "seen" to the function removeRow to skip the cells have been processed