mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Remove tests for deprecated operators.
This commit is contained in:
parent
7f2769bd17
commit
8d19c43429
2 changed files with 0 additions and 13 deletions
|
@ -54,8 +54,6 @@ overwrite element (PASS)
|
|||
access element (PASS)
|
||||
overwrite element (PASS)
|
||||
access element (PASS)
|
||||
++ operator (PASS)
|
||||
-- operator (PASS)
|
||||
+ operator (PASS)
|
||||
- operator (PASS)
|
||||
* operator (PASS)
|
||||
|
|
|
@ -154,17 +154,6 @@ event zeek_init()
|
|||
test_case( "overwrite element", |vg1| == 3 );
|
||||
test_case( "access element", vg1[1] == "new5" );
|
||||
|
||||
# Test increment/decrement operators
|
||||
|
||||
++v5;
|
||||
test_case( "++ operator", |v5| == 11 && v5[0] == 1 && v5[1] == 3
|
||||
&& v5[2] == 4 && v5[3] == 78 && v5[10] == 11
|
||||
&& 4 !in v5 );
|
||||
--v5;
|
||||
test_case( "-- operator", |v5| == 11 && v5[0] == 0 && v5[1] == 2
|
||||
&& v5[2] == 3 && v5[3] == 77 && v5[10] == 10
|
||||
&& 4 !in v5 );
|
||||
|
||||
# Test +,-,*,/,% of two vectors
|
||||
|
||||
test_case( "+ operator", v7[0] == 11 && v7[1] == 22 && v7[2] == 33 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue