ITADN

Consider having `expect_snapshot(x, style = "serialize")` go to a binary file

#2333OpenTimTaylor 创建于 2026-04-30
T
TimTaylorcommented
If we ignore the question on whether testing values in this way is appropriate is there a particular motivation to have `style = "serialize"` create a text representation rather than a binary file? I ask as the text file ends up larger than the binary representation and diffs are not useful for the text representation. Would you consider having type = "serialize" go to a binary snaps file instead?
0 条评论