@@ -224,12 +224,6 @@ Rebol [
224
224
===end-group===
225
225
226
226
227
- ===start-group=== "attempt"
228
- --test-- "issue-41"
229
- --assert none? attempt [2 / 0 ] ;@@ https://github.com/Oldes/Rebol-issues/issues/41
230
-
231
- ===end-group===
232
-
233
227
===start-group=== "reduce"
234
228
235
229
--test-- "reduce-1"
@@ -772,6 +766,29 @@ Rebol [
772
766
===end-group===
773
767
774
768
769
+ ===start-group=== "attempt"
770
+ --test-- "issue-41"
771
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/41
772
+ --assert none? attempt [2 / 0 ]
773
+
774
+ --test-- "attempt/safer"
775
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/583
776
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/1506
777
+ --assert none? attempt/safer [break 'not-reached]
778
+ --assert none? attempt/safer [continue 'not-reached]
779
+ --assert none? attempt/safer [exit 'not-reached]
780
+ --assert none? attempt/safer [return 1 'not-reached]
781
+ --assert none? attempt/safer [throw 1 'not-reached]
782
+ --test-- "try/all [attempt]"
783
+ --assert error? try /all [attempt [break 'not-reached]]
784
+ --assert error? try /all [attempt [continue 'not-reached]]
785
+ --assert error? try /all [attempt [exit 'not-reached]]
786
+ --assert error? try /all [attempt [return 1 'not-reached]]
787
+ --assert error? try /all [attempt [throw 1 'not-reached]]
788
+
789
+ ===end-group===
790
+
791
+
775
792
===start-group=== "CATCH"
776
793
;@@ https://github.com/Oldes/Rebol-issues/issues/1518
777
794
;@@ https://github.com/Oldes/Rebol-issues/issues/1520
0 commit comments