spec/support/shared_examples/a_serializer.rb in rambling-trie-1.0.3 vs spec/support/shared_examples/a_serializer.rb in rambling-trie-2.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
shared_examples_for 'a serializer' do
let(:trie) { Rambling::Trie.create }
let(:tmp_path) { File.join ::SPEC_ROOT, 'tmp' }
let(:filepath) { File.join tmp_path, "trie-root.#{format}" }
let(:content) { trie.root }