Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
gop / usr / lib / gop / printer / _testdata / 14-Using-goplus-in-Go / foo / foo_test.gop
Size: Mime:
package foo

import (
	"testing"
)

func TestReverseMap(t *testing.T) {
	out := ReverseMap({"a": 1})
	if len(out) != 1 || out[1] != "a" {
		t.Fatal("ReverseMap failed:", out)
	}
}