test/test_protocol.rb in avro-1.10.2 vs test/test_protocol.rb in avro-1.11.0
- old
+ new
@@ -1,5 +1,6 @@
+# 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
@@ -182,10 +183,10 @@
"errors": ["Curse"]
}
}
}
EOS
-]
+].freeze
Protocol = Avro::Protocol
def test_parse
EXAMPLES.each do |example|
assert_nothing_raised("should be valid: #{example.protocol_string}") {