summaryrefslogtreecommitdiff
path: root/filter/test.conf
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-01-24 09:45:40 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-24 09:45:40 +0100
commit02b2a4ecaaf850ce04b0cd2e74c1ff6fede3f181 (patch)
tree70e459c6543dc09059055a103d4f388e9b5b9c18 /filter/test.conf
parent3d96a16ae85db4329d2a24b7df9b3c18ae4e1045 (diff)
parent3186ffe79714a48542d5ad61a94c81216b522fd0 (diff)
Merge commit '3186ffe79714a48542d5ad61a94c81216b522fd0' into thread-next
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 9b24a408..17aaf8cf 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -219,6 +219,18 @@ function t_int()
bt_assert(123/45 = 2);
bt_assert(0xfee1a | 0xbeef = 0xffeff);
bt_assert(0xfee1a & 0xbeef = 0xae0a);
+
+ case i {
+ 4200000000: bt_assert(true);
+ else: bt_assert(false);
+ }
+
+ case four {
+ 4: bt_assert(true);
+ else: bt_assert(false);
+ }
+
+
}
bt_test_suite(t_int, "Testing integers");