@@ -25,14 +25,14 @@ import (
2525)
2626
2727func TestLoad (t * testing.T ) {
28- t .Run ("empty path returns an error " ,func (t * testing.T ) {
28+ t .Run ("it fails if tha app path is empty " ,func (t * testing.T ) {
2929app ,err := Load ("" )
3030assert .Error (t ,err )
3131assert .Empty (t ,app )
32- assert .Contains (t ,err .Error (),"empty" )
32+ assert .Contains (t ,err .Error (),"empty app path " )
3333})
3434
35- t .Run ("it fails if the app pathis an existing file" ,func (t * testing.T ) {
35+ t .Run ("it fails if the app pathexist but it's a file" ,func (t * testing.T ) {
3636_ ,err := Load ("testdata/app.yaml" )
3737assert .Error (t ,err )
3838assert .Contains (t ,err .Error (),"app path must be a directory" )
@@ -44,7 +44,7 @@ func TestLoad(t *testing.T) {
4444assert .Contains (t ,err .Error (),"app path is not valid" )
4545})
4646
47- t .Run ("itload an app correctly" ,func (t * testing.T ) {
47+ t .Run ("itloads an app correctly" ,func (t * testing.T ) {
4848app ,err := Load ("testdata/AppSimple" )
4949assert .NoError (t ,err )
5050assert .NotEmpty (t ,app )