From 089482756340f4639883c555b63b42c916b304fd Mon Sep 17 00:00:00 2001 From: asdf Date: Tue, 10 Sep 2019 20:24:16 +1000 Subject: [PATCH] simple line wrapping and associated unit tests --- cui/cui_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cui/cui_test.go b/cui/cui_test.go index 5c30169..1a286d3 100644 --- a/cui/cui_test.go +++ b/cui/cui_test.go @@ -27,20 +27,6 @@ func Test_wrapLines_space_preservation(t *testing.T) { }, 20, }, - { - // a specific test from cat's phlog (gopher://baud.baby:70/0/phlog/fs20190818.txt) - // I think the – character U+2013 : EN DASH characteris causing wrapping incorrectly - // but the test passes and i'm not sure why - []string{ - " Suldusk – Really cool dark folk/black metal sort of deal. The lead singer", - "is a tiny fairy of a person and she's very charming. It's the bass players", - }, - []string{ - " Suldusk – Really cool dark folk/black metal sort of deal. The lead singer", - "is a tiny fairy of a person and she's very charming. It's the bass players", - }, - 80, - }, } for _, table := range tables {