rice

personal dot files and scripts for linux and macOS
Log | Files | Refs | README | LICENSE

tests (251B)


      1 # -*- mode: snippet -*-
      2 # name: tests
      3 # key: tests
      4 # contributor : @atotto
      5 # --
      6 tests := []struct {
      7 	expected
      8 }{
      9 	{},
     10 }
     11 
     12 for n, tt := range tests {
     13 	actual := 
     14 	if tt.expected != actual {
     15 		t.Errorf("#%d want %v, got %v", n, tt.expected, actual)
     16 	}
     17 }