interop/test_interop.rb in avro-1.10.2 vs interop/test_interop.rb in avro-1.11.0

- old
+ new

@@ -1,6 +1,7 @@ #!/usr/bin/env ruby +# frozen_string_literal: true # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the @@ -17,10 +18,10 @@ require 'rubygems' require 'test/unit' require 'avro' -CODECS_TO_VALIDATE = ['deflate', 'snappy', 'zstandard'] # The 'null' codec is implicitly included +CODECS_TO_VALIDATE = ['deflate', 'snappy', 'zstandard'].freeze # The 'null' codec is implicitly included class TestInterop < Test::Unit::TestCase HERE = File.expand_path(File.dirname(__FILE__)) SHARE = HERE + '/../../../share' SCHEMAS = SHARE + '/test/schemas'