spec/unit/exit_error_spec.rb in tty-command-0.8.2 vs spec/unit/exit_error_spec.rb in tty-command-0.9.0
- old
+ new
@@ -1,5 +1,5 @@
-# encoding: utf-8
+# frozen_string_literal: true
RSpec.describe TTY::Command::ExitError, 'info' do
it "displays stdin & stdout" do
result = double(exit_status: 157, out: 'out content', err: 'err content')
error = described_class.new(:cat, result)