Console application for filtering CSV #620
Annotations
3 errors
Test:
test/csv/csv-filter/test_csv_filter.rb#L84
NameError: uninitialized constant TestFilter::Rows
def make_csv_s(rows: Rows, **options)
^^^^
/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'
/Users/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:0x0000000106b37890 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000000106b37868 @start_time=2024-12-17 23:18:03.372455 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000106c17760 @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:0x0000000106c4e918 @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=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:84:in `test_no_options'"]>, #<Test::Unit::Error:0x0000000106dce798 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_out_s' for #<TestFilter:0x0000000106b37890 ...>
assert_equal("Usage: csv-filter [options]\n", cli_out_s.lines.first)
^^^^^^^^^>, @method_name="test_option_h", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:93:in `test_option_h'"]>], @stop_tag=#<Object:0x0000000106c16130>, @failures=[], @errors=[#<Test::Unit::Error:0x0000000106c4e918 @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=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:17:in `make_csv_s'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:84:in `test_no_options'"]>, #<Test::Unit::Error:0x0000000106dce798 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_out_s' for #<TestFilter:0x0000000106b37890 ...>
assert_equal("Usage: csv-filter [options]\n", cli_out_s.lines.first)
^^^^^^^^^>, @method_name="test_option_h", @location=["/Users/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:0x0000000106c171c0 @a_proc=#<Proc:0x0000000106c171e8 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=4408308200>=>#<Proc:0x0000000106c171e8 /Users/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:0x0000000106c16d38 @a_proc=#<Proc:0x0000000106c16d60 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=4408307040>=>#<Proc:0x0000000106c16d60 /Users/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:0x0000000106c16928 @a_proc=#<Proc:0x0000000106c16950 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=4408306000>=>#<Proc:0x0000000106c16950 /Users/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:0x0000000106c16518 @a_proc=#<Proc:0x0000000106c16540 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=4408304960>=>#<Proc:0x0000000106c16540 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.
|
Test
Process completed with exit code 1.
|
Loading