From 9bbbd963cedb1a2c595be2b7170cfcfe407376c5 Mon Sep 17 00:00:00 2001 From: Vince Broz Date: Fri, 25 Nov 2022 21:19:48 -0500 Subject: [PATCH] rubocop -A --- feature/big_files_cli_spec.rb | 2 +- spec/big_files/file_with_lines_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/big_files_cli_spec.rb b/feature/big_files_cli_spec.rb index 6dc274f..b332978 100644 --- a/feature/big_files_cli_spec.rb +++ b/feature/big_files_cli_spec.rb @@ -32,7 +32,7 @@ context "with #{type}" do let(:command) do "cd feature/samples/#{type} && " \ - "RUBYLIB=`pwd`/../../lib:\"\$RUBYLIB\" bigfiles " \ + "RUBYLIB=`pwd`/../../lib:\"$RUBYLIB\" bigfiles " \ "--glob '*.{rb,swift,zorb}' " \ "--exclude-glob " \ "'{excluded.rb}'" diff --git a/spec/big_files/file_with_lines_spec.rb b/spec/big_files/file_with_lines_spec.rb index f38a4ae..3f525ac 100644 --- a/spec/big_files/file_with_lines_spec.rb +++ b/spec/big_files/file_with_lines_spec.rb @@ -34,7 +34,7 @@ def allow_num_lines_calls it 'is sortable' do allow_num_lines_calls - expect(file_with_lines.<=>(another_file_with_lines)) + expect((file_with_lines <=> another_file_with_lines)) .to eq(-1) end end