Skip to content

Instantly share code, notes, and snippets.

@alphazero
Created February 4, 2012 17:18
Show Gist options
  • Save alphazero/1739006 to your computer and use it in GitHub Desktop.
Save alphazero/1739006 to your computer and use it in GitHub Desktop.
rm -f _test/launchpad.net/gommap.a
6g -o _gotest_.6 gommap.go consts.go mmap_darwin_amd64.go
rm -f _test/launchpad.net/gommap.a
gopack grc _test/launchpad.net/gommap.a _gotest_.6
----------------------------------------------------------------------
FAIL: gommap_test.go:162: S.TestInCoreTwoPages
gommap_test.go:182:
c.Assert(mapped, Equals, []uint8{0, 1})
... obtained []uint8 = []byte{0x0, 0x7}
... expected []uint8 = []byte{0x0, 0x1}
----------------------------------------------------------------------
FAIL: gommap_test.go:151: S.TestInCoreUnderOnePage
gommap_test.go:159:
c.Assert(mapped, Equals, []uint8{1})
... obtained []uint8 = []byte{0x5}
... expected []uint8 = []byte{0x1}
OOPS: 8 passed, 2 FAILED
--- FAIL: gommap_test.TestAll (0.01 seconds)
FAIL
gotest: "./6.out gommap_test.go" failed: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment