Skip to content

Instantly share code, notes, and snippets.

@karlseguin
Created July 13, 2011 13:01
Show Gist options
  • Save karlseguin/1080254 to your computer and use it in GitHub Desktop.
Save karlseguin/1080254 to your computer and use it in GitHub Desktop.
My First Go Test
import ("testing")
func TestEmptyReturnsTrueWhenEmpty(t *testing.T) {
if (new(LinkedList).IsEmpty() == false) {
t.Fatal("Expecting list to be empty")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment