古来
响印
欢喜
方在
坡上
生。
" const expected = `古来响印金榜,欢喜方在坡上生。` assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_malformed2(t *testing.T) { const input = "古来
响印
金榜
欢喜
方在
坡上
生。
" const expected = `古来响印金榜,欢喜方在坡上生。` assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_malformed3(t *testing.T) { const input = "古来响印
金榜,
欢喜方在坡上生。
" const expected = "古来响印金榜,欢喜方在坡上生。" assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_malformed4(t *testing.T) { const input = "古来响印金榜,欢喜方在坡上生。
" const expected = "古来响印金榜,欢喜方在坡上生。" assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_ignore_space(t *testing.T) { const input = "2023/日本/剧情,爱情
2021/日本/剧情,喜剧
2020/日本/剧情
2019/日本/剧情