createDartFile creates a dart file with sample content
(t *testing.T, dir, name string)
| 42 | |
| 43 | // createDartFile creates a dart file with sample content |
| 44 | func createDartFile(t *testing.T, dir, name string) string { |
| 45 | return createFile(t, dir, name, "import 'dart:io';\n\nclass Test {}") |
| 46 | } |
| 47 | |
| 48 | // gitAdd adds a file to git staging area |
| 49 | func gitAdd(t *testing.T, repoDir, file string) { |