剧情简介

` assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_ignore(t *testing.T) { const input = "古来响印金榜,欢喜方在坡上生。" const expected = "" assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_malformed(t *testing.T) { const input = "古来响印金榜欢喜方在坡上生。" 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_comment(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 = " 古来响印金榜,欢喜方在坡上生。 " const expected = "古来响印金榜,欢喜方在坡上生。" assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().Clean(input)))}func TestCleaner_Clean_remove_selector(t *testing.T) { const input = `第一页第二页` const expected = "第一页第二页" assert.Equal(t, ClearSpace(expected), ClearSpace(NewCleaner().RemoveSelectors("a").Clean(input)))}

《信长协奏曲》由小栗旬 柴崎幸 向井理 山田孝之 藤木直人 藤谷太辅 夏帆 等主演,松山博昭 导演的剧情,奇幻电视剧...

免責聲明:若本站收錄的資源侵犯了您的權益,我們會及時刪除侵權內容,謝謝合作!