Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2759

Fix Ruby test not to redefine a function with the same name

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.10.0
    • None
    • None

    Description

      Running ./build.sh test in the lang/ruby directory shows the following warnings.

      #################################################################
      ##### Run tests: /avro/lang/ruby/ 
      #################################################################
      
      (snip)
      
      /avro/lang/ruby/test/test_schema.rb:20: warning: method redefined; discarding old hash_to_schema
      /avro/lang/ruby/test/test_schema_validator.rb:28: warning: previous definition of hash_to_schema was here
      

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: