summaryrefslogtreecommitdiff
path: root/test/test_layout.rb
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-02 02:48:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-02 02:48:04 +0900
commitb7795a3deaa4339cebddd267fe68b39aff5380cc (patch)
treea26ed7b1a725ceb6cada29bf5e83cd8d33398f34 /test/test_layout.rb
parent323f6f6202f580146a46ee4217581c5cf4078821 (diff)
downloadfzf-b7795a3deaa4339cebddd267fe68b39aff5380cc.tar.gz
Fix RuboCop errors
Diffstat (limited to 'test/test_layout.rb')
-rw-r--r--test/test_layout.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_layout.rb b/test/test_layout.rb
index ee0f31d2..97f8da6e 100644
--- a/test/test_layout.rb
+++ b/test/test_layout.rb
@@ -927,7 +927,7 @@ class TestLayout < TestInteractive
def test_layout_reverse_list
prefix = "seq 5 | #{FZF} --layout reverse-list --no-list-border --height ~100% --border sharp "
suffixes = [
- %[],
+ %(),
%[--header "$(seq 101 103)"],
%[--header "$(seq 101 103)" --header-first],
%[--header "$(seq 101 103)" --header-lines 3],
@@ -941,7 +941,7 @@ class TestLayout < TestInteractive
%[--header "$(seq 101 103)" --header-border sharp --header-lines 3 --header-lines-border sharp --header-first --no-input],
%[--header "$(seq 101 103)" --input-border sharp],
%[--header "$(seq 101 103)" --style full:sharp],
- %[--header "$(seq 101 103)" --style full:sharp --header-first],
+ %[--header "$(seq 101 103)" --style full:sharp --header-first]
]
output = <<~BLOCK
┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌──────── ┌───────── ┌─────── ┌───────── ┌───────── ┌─────────