test/base/test_memoization.rb in nanoc-4.7.0 vs test/base/test_memoization.rb in nanoc-4.7.1

- old
+ new

@@ -48,9 +48,15 @@ assert_equal 100 * 20 + 5, sample2a.run(5) assert_equal 100 * 25 + 7, sample2b.run(7) end end + def test_frozen + sample = Sample1.new(10) + sample.freeze + sample.run(5) + end + def test_weak_inspect upcaser = Upcaser.new 10_000.times do |i| upcaser.run("hello world #{i}") end