You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
381 B

package student_test
import (
"os"
"strings"
"testing"
"github.com/01-edu/z01"
)
func TestDisplayfile(t *testing.T) {
pathFileName := "./student/displayfile/quest8.txt"
_, err := os.Stat(pathFileName)
if err != nil {
t.Fatal(err)
}
table := []string{"", pathFileName, "quest8.txt asdsada"}
for _, s := range table {
z01.ChallengeMain(t, strings.Fields(s)...)
}
}