Skip to content

Commit

Permalink
[desafio-10] %s -> %q
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMercer committed Aug 13, 2023
1 parent 6a3c485 commit 06bb716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desafio-10/MatMercer/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ func runPrograms(fileName string) error {
progFileName, input := progAndInput[0], progAndInput[1]
progFile, err := os.Open(progFileName)
if err != nil {
return fmt.Errorf("failed to open %s program file: %s", progFileName, err)
return fmt.Errorf("failed to open %q program file: %s", progFileName, err)
}
turMachine, err := machine.New(progFile, input, debug)
if err != nil {
return fmt.Errorf("failed to create %s program with %s input: %s", progFileName, input, err)
return fmt.Errorf("failed to create %q program with %q input: %s", progFileName, input, err)
}
_ = progFile.Close()
turMachine.Run()
Expand Down

0 comments on commit 06bb716

Please sign in to comment.