我已经厌倦了多次使用 string.split 方法将空条目添加到空字段中,但我仍然无法传递 eclipse,有人可以帮助我/指导我吗?
这是代码:
public void test_incomplete_lines() throws Exception {
/**
* Test scenarios:
*
* ,l1c2,l1c3,l1c4
* l2c1,,l2c3,l2c4
* l3c1,l3c2,,l3c4
* l4c1,l4c2,l4c3,
* ,l5c2,l5c3,
* l6c1,,l6c3,
* l7c1,l7c2,,
* ,,l8c3,l8c4
*/