package main

import (
	"testing"
)

var sourceURITests = []struct {
	src string
	dst string
}{
	{
		"https://github.com/sunaku/vim-unbundle",
		"https://github.com/sunaku/vim-unbundle",
	},

	{
		"Shougo/neobundle.vim",
		"https://github.com/Shougo/neobundle.vim",
	},
	{
		"thinca/vim-quickrun",
		"https://github.com/thinca/vim-quickrun",
	},
}

func TestSourceURI(t *testing.T) {
	for _, test := range sourceURITests {
		expect := test.dst
		actual, err := ToSourceURI(test.src)
		if err != nil {
			t.Errorf("ToSourceURI(%q) returns %q, want nil", err)
		}
		if actual != expect {
			t.Errorf("%q: got %q, want %q",
				test.src, actual, expect)
		}
	}
}

package main

import (
	"testing"
)

var sourceURITests = []struct {
	src string
	dst string
}{
	{
		"https://github.com/sunaku/vim-unbundle",
		"https://github.com/sunaku/vim-unbundle",
	},
}

func TestSourceURI(t *testing.T) {
	for _, test := range sourceURITests {
		expect := test.dst
		actual, err := ToSourceURI(test.src)
		if err != nil {
			t.Errorf("ToSourceURI(%q) returns %q, want nil", err)
		}
		if actual != expect {
			t.Errorf("%q: got %q, want %q",
				test.src, actual, expect)
		}
	}
}

--- 
+++ 
@@ -11,6 +11,15 @@
 	{
 		"https://github.com/sunaku/vim-unbundle",
 		"https://github.com/sunaku/vim-unbundle",
+	},
+
+	{
+		"Shougo/neobundle.vim",
+		"https://github.com/Shougo/neobundle.vim",
+	},
+	{
+		"thinca/vim-quickrun",
+		"https://github.com/thinca/vim-quickrun",
 	},
 }
 
Add case of short GitHub URI for ToSourceURI
