Skip to content

Commit

Permalink
Merge pull request #4 from StefanosPs/tests/support-x86-64-systems-me…
Browse files Browse the repository at this point in the history
…mory-address-at-tests

Tests: Update memory regex to support 48 bits addresses
  • Loading branch information
fabpot committed Dec 7, 2023
2 parents cf2d34d + 343fd94 commit c68b196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dumper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var DumpEquals Checker = &dumpEqualsChecker{
&CheckerInfo{Name: "DumpEquals", Params: []string{"obtained", "expected"}},
}

var memoryRegexp = regexp.MustCompile("0x[0-9a-f]{8,10}")
var memoryRegexp = regexp.MustCompile("0x[0-9a-f]{8,12}")

func (checker *dumpEqualsChecker) Check(params []interface{}, names []string) (result bool, error string) {
defer func() {
Expand Down

0 comments on commit c68b196

Please sign in to comment.