Console application for filtering CSV #620
Annotations
3 errors and 1 warning
Test:
test/csv/csv-filter/test_csv_filter.rb#L84
NameError: uninitialized constant TestFilter::Rows
def make_csv_s(rows: Rows, **options)
^^^^
/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'
/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:84:in `test_no_options'
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L93
NameError: undefined local variable or method `cli_out_s' for #<TestFilter:0x00007f3bfb7463d0 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f3bfb746330 @start_time=2024-12-17 23:18:00.867466391 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f3bfb617310 @assertion_count=4022, @pass_count=511, @run_count=512, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00007f3bfbbb44d0 @test_name="test_no_options(TestFilter)", @exception=#<NameError: uninitialized constant TestFilter::Rows
def make_csv_s(rows: Rows, **options)
^^^^>, @method_name="test_no_options", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:84:in `test_no_options'"]>, #<Test::Unit::Error:0x00007f3bfb60fb60 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_out_s' for #<TestFilter:0x00007f3bfb7463d0 ...>
assert_equal("Usage: csv-filter [options]\n", cli_out_s.lines.first)
^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:93:in `test_option_h'"]>], @stop_tag=#<Object:0x00007f3bfb615ce0>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f3bfbbb44d0 @test_name="test_no_options(TestFilter)", @exception=#<NameError: uninitialized constant TestFilter::Rows
def make_csv_s(rows: Rows, **options)
^^^^>, @method_name="test_no_options", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:84:in `test_no_options'"]>, #<Test::Unit::Error:0x00007f3bfb60fb60 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_out_s' for #<TestFilter:0x00007f3bfb7463d0 ...>
assert_equal("Usage: csv-filter [options]\n", cli_out_s.lines.first)
^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:93:in `test_option_h'"]>], @pendings=[], @omissions=[], @notifications=[], @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x00007f3bfb616d70 @a_proc=#<Proc:0x00007f3bfb616d98 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=139895597264280>=>#<Proc:0x00007f3bfb616d98 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>}, "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x00007f3bfb6168e8 @a_proc=#<Proc:0x00007f3bfb616910 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=139895597263120>=>#<Proc:0x00007f3bfb616910 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>}, "Test::Unit::TestResult::PASS_ASSERTION"=>{#<Test::Unit::Util::ProcWrapper:0x00007f3bfb6164d8 @a_proc=#<Proc:0x00007f3bfb616500 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=139895597262080>=>#<Proc:0x00007f3bfb616500 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>}, "Test::Unit::TestResult::FAULT"=>{#<Test::Unit::Util::ProcWrapper:0x00007f3bfb6160c8 @a_proc=#<Proc:0x00007f3bfb6160f0 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=139895597261040>=>#<Proc:0x00007f3bfb6160f0 /home/runner/work/csv/csv/vendor/bundl
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading