Skip to content
  • Jordan Thomas's avatar
    95da7fa5
    Frozen truncate (#36109) · 95da7fa5
    Jordan Thomas authored
    * Add test asserting truncate returns unfrozen string
    
    * Ensure strings returned from truncate are not frozen
    
    This fixes an issue where strings too short to be truncated were
    returned unfrozen, where as long-enough strings were returned
    frozen. Now retuned strings will not be frozen whether or not
    the string returned was shortened.
    
    * Update changelog w/ new truncate behavior description
    
    [Jordan Thomas + Rafael Mendonça França]
    95da7fa5
    Frozen truncate (#36109)
    Jordan Thomas authored
    * Add test asserting truncate returns unfrozen string
    
    * Ensure strings returned from truncate are not frozen
    
    This fixes an issue where strings too short to be truncated were
    returned unfrozen, where as long-enough strings were returned
    frozen. Now retuned strings will not be frozen whether or not
    the string returned was shortened.
    
    * Update changelog w/ new truncate behavior description
    
    [Jordan Thomas + Rafael Mendonça França]
Loading