anchor.diff:            end
   
             if size > 1_000_000_000_000
  -            size = sprintf "%d TB", size / 1_000_000_000_000
  +            size = format "%d TB", size / 1_000_000_000_000
             elsif size > 1000000000
  -            size = sprintf "%d GB", size / 1000000000
  +            size = format "%d GB", size / 1000000000
             end
   
             devices[:disks] << {
  
positive.code: 
          controllers << controller
        elsif line =~ /^Bus Number\s+:\s+(\d+)$/
          controller[:pci_slot] = sprintf "0000:%02x", Integer("0x#{Regexp.last_match(1)}")
        elsif line =~ /^Device Number\s+:\s+(\d+)$/
          controller[:pci_slot] = sprintf "%s:%02x", controller[:pci_slot], Integer("0x#{Regexp.last_match(1)}")
        elsif line =~ /^Function Number\s+:\s+(\d+)$/
          controller[:pci_slot] = sprintf "%s.%01x", controller[:pci_slot], Integer("0x#{Regexp.last_match(1)}")
        end
      end
  
  
negative.code: 
    def parse_disk_size(size)
      if size =~ /^(\d+(?:\.\d+))?\s*TB/i
        format "%dTB", Regexp.last_match(1).to_f * 2**40 / 1_000_000_000_000
      elsif size =~ /^(\d+(?:\.\d+))?\s*GB/i
        format "%dGB", Regexp.last_match(1).to_f * 2**30 / 1000000000
      end
    end
  
  