Skip to content

Commit

Permalink
tests: Update memory regex to support 48 bits addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanosPs committed Dec 7, 2023
1 parent cf2d34d commit 343fd94
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 343fd94

Please sign in to comment.