Browse Source

Making the hex scrubbing more flexible for when pointers round weirdly

dev
Andy Meneely 11 years ago
parent
commit
0f7f8acefa
  1. 2
      spec/spec_helper.rb

2
spec/spec_helper.rb

@ -24,7 +24,7 @@ def sample_regression_file(file)
end end
def scrub_hex(str) def scrub_hex(str)
str.gsub(/0x\w{7,8}/,'') str.gsub(/0x\w{1,8}/,'')
.gsub(/ptr=.{8}/,'') .gsub(/ptr=.{8}/,'')
.gsub(/FontDescription:.{8}/,'FontDescription') .gsub(/FontDescription:.{8}/,'FontDescription')
.gsub(/Handle:.{8}/,'Handle') .gsub(/Handle:.{8}/,'Handle')

Loading…
Cancel
Save