diff --git a/examples/custom-errors/custom-errors.sh b/examples/custom-errors/custom-errors.sh index d534739b5..33b7bed5e 100644 --- a/examples/custom-errors/custom-errors.sh +++ b/examples/custom-errors/custom-errors.sh @@ -1,2 +1,3 @@ +$ go run custom-errors.sh 42 -can't work with it \ No newline at end of file +can't work with it diff --git a/examples/errors/errors.sh b/examples/errors/errors.sh index 034c9ed3a..c5f4e545f 100644 --- a/examples/errors/errors.sh +++ b/examples/errors/errors.sh @@ -1,3 +1,4 @@ +$ go run errors.sh f worked: 10 f failed: can't work with 42 Tea is ready! diff --git a/public/custom-errors b/public/custom-errors index b47ba63d4..9bc7fd193 100644 --- a/public/custom-errors +++ b/public/custom-errors @@ -158,7 +158,8 @@ returns false.

-
42
+          
$ go run custom-errors.sh
+42
 can't work with it
diff --git a/public/errors b/public/errors index f0240036e..ddc4dab67 100644 --- a/public/errors +++ b/public/errors @@ -237,7 +237,8 @@ errors in a chain of errors.

-
f worked: 10
+          
$ go run errors.sh
+f worked: 10
 f failed: can't work with 42
 Tea is ready!
 Tea is ready!