main_test.go 195 B

12345678910
  1. package main
  2. import "testing"
  3. func TestMain(t *testing.T) {
  4. exit = func(int) {}
  5. getwd = func() (string, error) { return "", nil }
  6. operate = func([]byte) []byte { return []byte{} }
  7. main()
  8. }