Console application for filtering CSV #635
Annotations
4 errors
Test:
test/csv/csv-filter/test_csv_filter.rb#L62
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f429696a2c8 @start_time=2025-02-08 16:14:17.866944333 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 @assertion_count=4021, @pass_count=511, @run_count=511, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @stop_tag=#<Object:0x00007f429537d398>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @pendings=[], @omissions=[], @notifications=[], @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x00007f429537e428 @a_proc=#<Proc:0x00007f429537e450 /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=139923948037200>=>#<Proc:0x00007f429537e450 /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:0x00007f429537dfa0 @a_proc=#<Proc:0x00007f429537dfc8 /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=139923948036040>=>#<Proc:0x00007f429537dfc8 /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:0x00007f429537db90 @a_proc=#<Proc:0x00007f429537dbb8 /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=139923948035000>=>#<Proc:0x00007f429537dbb8 /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:0x00007f429537d780 @a_proc=#<Proc:0x00007f429537d7a8 /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=139923948033960>=>#<Proc:0x00007f429537d7a8 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>}}>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'
/home/runner/work/
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L77
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296969508 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f42969694b8 @start_time=2025-02-08 16:14:17.883785656 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 @assertion_count=4022, @pass_count=512, @run_count=513, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f429696a2c8 @start_time=2025-02-08 16:14:17.866944333 +0000, @elapsed_time=0.016572111, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f429527e208 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296969508 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>], @stop_tag=#<Object:0x00007f429537d398>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f429696a2c8 @start_time=2025-02-08 16:14:17.866944333 +0000, @elapsed_time=0.016572111, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f429527e208 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296969508 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L83
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296968d88 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f4296968d10 @start_time=2025-02-08 16:14:17.901630798 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 @assertion_count=4022, @pass_count=512, @run_count=514, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f429696a2c8 @start_time=2025-02-08 16:14:17.866944333 +0000, @elapsed_time=0.016572111, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f429527e208 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296969508 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f42969694b8 @start_time=2025-02-08 16:14:17.883785656 +0000, @elapsed_time=0.017812091, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f429537e9c8 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>, #<Test::Unit::Error:0x00007f4298a2ed60 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f4296968d88 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_v", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:83:in `test_option_v'"]>], @stop_tag=#<Object:0x00007f429537d398>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f429535c940 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f429696a2f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f429696a2c8 @start_time=2025-02-08 16:14:17.866944333 +0000, @elapsed_time=0.016572111, @passed=false, @Inte
|
Test
Process completed with exit code 1.
|
Loading