Skip to content

Commit

Permalink
Small tweaks to CLI-output
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaumgarten committed Dec 5, 2020
1 parent dc24107 commit 9fb3dbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func compileFile(fpath string) {

// compilation failed completely. Fail now!
if converted == nil {
exitOnError(compileerr, "converting to yolol")
exitOnError(compileerr, "converting '"+fpath+"' to yolol")
}

gen := parser.Printer{}
Expand Down
2 changes: 1 addition & 1 deletion cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var testCmd = &cobra.Command{
exitOnError(err, "loading test case")
fmt.Println("Running file: " + arg)
fails := test.Run(func(c testing.Case) {
fmt.Println(" Running case: " + c.Name)
fmt.Println("- Running case: " + c.Name)
})
if len(fails) == 0 {
fmt.Println("Tests OK")
Expand Down
2 changes: 1 addition & 1 deletion cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var verifyCmd = &cobra.Command{
p.DebugLog = debugLog
file := loadInputFile(filepath)
_, errs := p.Parse(file)
exitOnError(errs, "parsing file")
exitOnError(errs, "parsing file '"+filepath+"'")

err := validators.ValidateCodeLength(file)
exitOnError(err, "validating code")
Expand Down

0 comments on commit 9fb3dbd

Please sign in to comment.