test/base/test_layout.rb in nanoc-3.3.2 vs test/base/test_layout.rb in nanoc-3.3.3

- old
+ new

@@ -20,10 +20,10 @@ raised = false begin layout.identifier.chop! rescue => error raised = true - assert_match /^can't modify frozen [Ss]tring$/, error.message + assert_match /(^can't modify frozen [Ss]tring|^unable to modify frozen object$)/, error.message end assert raised, 'Should have raised when trying to modify a frozen string' end def test_lookup_with_known_attribute