Skip to content

Commit 8b2def7

Browse files
committed
1 parent 6f8324f commit 8b2def7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/tests/units/file-test.r3

+13
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,17 @@ Rebol [
3434

3535
===end-group===
3636

37+
===start-group=== "suffix?"
38+
--test-- "suffix? file!"
39+
--assert %.c = suffix? %b.c
40+
--assert %.c = suffix? %a/b.c
41+
42+
--test-- "suffix? url!"
43+
;@@ https://github.com/Oldes/Rebol-issues/issues/2136
44+
--assert %.c = suffix? http://a/b.c
45+
--assert %.c = suffix? http://a/b.c?d.e
46+
--assert %.c = suffix? http://a/b.c#d.e
47+
--assert %.c = suffix? http://a/b.c?d#e.f
48+
===end-group===
49+
3750
~~~end-file~~~

0 commit comments

Comments
 (0)