Validate API examples. Rename files

Someone adding an untested file should fail the build for sure


> On Nov 10, 2014, at 6:57 PM, Vojtech Vitek <notifications@github.com> wrote:
> 
> In examples/examples_test.go:
> 
> >  		}
> > -		return err
> > -	})
> > -	if err != nil {
> > -		t.Errorf("%v", err)
> >  	}
> >  
> Would it make sense to compare len(files) == len(expected) to be sure we didn't forget any files and there were no extra files either?
> 
> —
> Reply to this email directly or view it on GitHub.
>