You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_, err=f.WriteString(`{ "blurb": "Learn about the basics of Ruby by following a lasagna recipe.", "authors": ["iHiD", "pvcarrera"], "files": { "solution": ["lasagna.rb"], "exemplar": [".meta/exemplar.rb"] } } `)
53
+
_, err=f.WriteString(`{ "blurb": "Learn about the basics of Ruby by following a lasagna recipe.", "authors": ["iHiD", "pvcarrera"], "files": { "exemplar": [".meta/exemplar.rb"] } } `)
49
54
assert.NoError(t, err)
50
55
51
56
ec, err:=NewExerciseConfig(dir)
52
57
assert.NoError(t, err)
53
58
59
+
_, err=ec.GetSolutionFiles()
60
+
assert.Error(t, err, "no `files.solution` key in your `config.json`")
54
61
_, err=ec.GetTestFiles()
55
62
assert.Error(t, err, "no `files.test` key in your `config.json`")
_, err=f.WriteString(`{ "blurb": "Learn about the basics of Prolog by following a lasagna recipe.", "authors": ["iHiD", "pvcarrera"], "files": { "solution": ["lasagna.pl"], "test": ["lasagna_tests.plt"] } } `)
0 commit comments