Module talk:CSV/testcases
Add topicAppearance
All tests passed.
test_all:
| Text | Expected | Actual | |
|---|---|---|---|
| Template:Tick | Basic numbers | {{"1","2","3"},{"4","5","6"},{"7","8","9"}} | {{"1","2","3"},{"4","5","6"},{"7","8","9"}} |
| Template:Tick | Basic strings | {{"Lorem","ipsum","dolor","sit"},{"amet","consectetur"},{"adipisicing","elit","sed","do","eiusmod"}} | {{"Lorem","ipsum","dolor","sit"},{"amet","consectetur"},{"adipisicing","elit","sed","do","eiusmod"}} |
| Template:Tick | Quoted strings | {{"Lorem","ipsum, dolor, sit","amet"},{"Consectetur","adipisicing","elit, sed,","eiusmod"}} | {{"Lorem","ipsum, dolor, sit","amet"},{"Consectetur","adipisicing","elit, sed,","eiusmod"}} |
| Template:Tick | Empty field | {{"1","2","","3"}} | {{"1","2","","3"}} |
| Template:Tick | Trailing empty field | {{"1","2","3",""}} | {{"1","2","3",""}} |
| Template:Tick | Empty record (ignored) | {{"1","2","3"},{"4","5","6"}} | {{"1","2","3"},{"4","5","6"}} |
| Template:Tick | Empty record (not ignored) | {{"1","2","3"},{""},{"4","5","6"}} | {{"1","2","3"},{""},{"4","5","6"}} |
| Template:Tick | Escaped quote | {{"1",'2"3',"4"}} | {{"1",'2"3',"4"}} |
| Template:Tick | Specified delimiter | {{"1","2","3"},{"4","5","6"}} | {{"1","2","3"},{"4","5","6"}} |
| Template:Tick | Specified linebreak | {{"1","2","3"},{"4","5","6"}} | {{"1","2","3"},{"4","5","6"}} |
| Template:Tick | Specified quote char | {{"1","2,3","4"}} | {{"1","2,3","4"}} |
| Template:Tick | Linebreak in field | {{"1","2\n3","4"}} | {{"1","2\n3","4"}} |
Start a discussion about Module:CSV/testcases
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve Module:CSV/testcases.