Skip to content

Commit 65cd5e6

Browse files
austrineldering
authored andcommitted
add two tests (escapes of regex operators, and string comparisons)
1 parent 7ab1492 commit 65cd5e6

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

tests/testdatarescape.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(((.

tests/testdatastrcmp.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

tests/testprogrescape.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Tests regexes with escaped symbols
2+
REGEX("\({1,5}\.{1,5}") NEWLINE

tests/testprogstrcmp.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# String comparisons
2+
STRING("1") NEWLINE
3+
SET(x = "abc")
4+
SET(y = "hello")
5+
ASSERT(x < "b")
6+
ASSERT(y >= "helln")
7+
ASSERT(x != y)

0 commit comments

Comments
 (0)