mirror of
https://github.com/golang/sys.git
synced 2026-02-09 12:16:04 +03:00
removed obsolete check in test
This commit is contained in:
@@ -33,9 +33,6 @@ func TestMremap(t *testing.T) {
|
||||
if bNew[0] != 42 {
|
||||
t.Fatal("first element value was changed")
|
||||
}
|
||||
if bNew[unix.Getpagesize()+1] != 84 {
|
||||
t.Fatalf("element value in new memory space wasn't changed")
|
||||
}
|
||||
if len(bNew) != unix.Getpagesize()*2 {
|
||||
t.Fatal("new memory len not equal to specified len")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user