mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
fix(textarea): end of buffer alignment
This commit is contained in:
+29
-29
@@ -429,11 +429,11 @@ func TestView(t *testing.T) {
|
||||
name: "placeholder",
|
||||
expected: heredoc.Doc(`
|
||||
> 1 Hello, World!
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -445,11 +445,11 @@ func TestView(t *testing.T) {
|
||||
},
|
||||
expected: heredoc.Doc(`
|
||||
> 1 the first line
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -463,9 +463,9 @@ func TestView(t *testing.T) {
|
||||
> 1 the first line
|
||||
> 2 the second line
|
||||
> 3 the third line
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
> ~
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -512,11 +512,11 @@ func TestView(t *testing.T) {
|
||||
},
|
||||
expected: heredoc.Doc(`
|
||||
> 1 the first line
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -531,9 +531,9 @@ func TestView(t *testing.T) {
|
||||
> 1 the first line
|
||||
> 2 the second line
|
||||
> 3 the third line
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
> *
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -582,11 +582,11 @@ func TestView(t *testing.T) {
|
||||
},
|
||||
expected: heredoc.Doc(`
|
||||
* 1 the first line
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -601,9 +601,9 @@ func TestView(t *testing.T) {
|
||||
* 1 the first line
|
||||
* 2 the second line
|
||||
* 3 the third line
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
* ~
|
||||
`),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user