Skip to content

Commit 03ecaa1

Browse files
committed
TEST: fixes of errors in test files
1 parent dd36517 commit 03ecaa1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/tests/units/aes-test.r3

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Rebol [
77
]
88

99
~~~start-file~~~ "AES"
10-
10+
if native? :aes [
11+
;- this tests are only for the now deprecated `aes` native function!
1112
===start-group=== "The Advanced Encryption Standard (AES) test vectors"
1213

1314
--test-- "AES-128"
@@ -82,5 +83,6 @@ Rebol [
8283
]
8384

8485
===end-group===
86+
] ; if ends
8587

8688
~~~end-file~~~

src/tests/units/file-test.r3

-1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,5 @@ secure [%/ allow]
141141
--assert all [error? e: try [echo %not-existing-dir/foo] e/id = 'cannot-open]
142142
===end-group===
143143

144-
echo %/r/sss/xxxx
145144

146145
~~~end-file~~~

src/tests/units/mold-test.r3

+1-1
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ Rebol [
521521
===start-group=== "mold error!"
522522
--test-- "mold error!"
523523
;@@ https://github.com/Oldes/Rebol-issues/issues/1003
524-
--assert {make error! [code: 101 type: 'Note id: 'exited arg1: none arg2: none arg3: none near: none where: none]} mold/flat make error! [type: 'Note id: 'exited]
524+
--assert {make error! [code: 101 type: 'Note id: 'exited arg1: none arg2: none arg3: none near: none where: none]} = mold/flat make error! [type: 'Note id: 'exited]
525525
--assert {#[error! [code: 101 type: Note id: exited arg1: #[none] arg2: #[none] arg3: #[none] near: #[none] where: #[none]]]} = mold/all/flat make error! [type: 'Note id: 'exited]
526526
--assert {#[error! [code: 401 type: Math id: overflow arg1: #[none] arg2: #[none] arg3: #[none] near: #[none] where: #[none]]]} = mold/all/flat make error! [type: 'Math id: 'overflow]
527527
===end-group===

0 commit comments

Comments
 (0)