Skip to content

Commit 7089e80

Browse files
committed
1 parent 22f7931 commit 7089e80

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/tests/units/date-test.r3

+4-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Rebol [
6666

6767
===start-group=== "#[date! ...]"
6868
;@@ https://github.com/Oldes/Rebol-issues/issues/1034
69-
--test-- "#[date!] valid"
69+
--test-- "#[date! ...] valid"
7070
--assert 1-Feb-0003 = #[date! 1 2 3]
7171
--assert 1-Feb-0003/4:00 = #[date! 1 2 3 4:0]
7272
--assert 1-Feb-0003/4:00+5:00 = #[date! 1 2 3 4:0 5:0]
@@ -77,13 +77,14 @@ Rebol [
7777
--assert 1-Jan-2000/10:00+2:00 = #[date! 1-1-2000 10:0 2:0]
7878
--assert 5-Jan-2000/4:00 = #[date! 1-1-2000 100:0]
7979

80-
--test-- "#[date!] invalid"
81-
--assert error? try [load {#[date!]}]
80+
--test-- "#[date! ...] invalid"
8281
--assert error? try [load {#[date! 1]}]
8382
--assert error? try [load {#[date! 1 2]}]
8483
--assert error? try [load {#[date! 1 2 3 x]}]
8584
--assert error? try [load {#[date! 1 2 3 4:0 x]}]
8685
--assert error? try [load {#[date! 1 2 3 4:0 5:0 3]}]
86+
;@@ https://github.com/Oldes/Rebol-issues/issues/2508
87+
--assert datatype? try [load {#[date!]}]
8788

8889
===end-group===
8990

src/tests/units/image-test.r3

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ Rebol [
6767
]
6868
--test-- "construct image invalid"
6969
;@@ https://github.com/Oldes/Rebol-issues/issues/1034
70-
--assert error? try [load {#[image!]}]
7170
--assert error? try [load {#[image! x]}]
7271
--assert error? try [load {#[image! 1x-1]}]
7372
--assert error? try [load {#[image! 1x1 x]}]
@@ -77,7 +76,8 @@ Rebol [
7776
;@@ https://github.com/Oldes/Rebol-issues/issues/1037
7877
--assert all [error? e: try [make image! [3x2 #{000000000000000000000000000000000000} 1x0]] e/id = 'malconstruct]
7978
--assert all [error? e: try [load {#[image! 3x2 #{000000000000000000000000000000000000} 1x0]}] e/id = 'malconstruct]
80-
79+
;@@ https://github.com/Oldes/Rebol-issues/issues/2508
80+
--assert datatype? try [load {#[image!]}]
8181

8282
===end-group===
8383

0 commit comments

Comments
 (0)