Slight naming changes for Bro version information.

Main API now looks like this:

@if ( Version::number >= 20500 )
or
@if ( Version::at_least("2.5") )
This commit is contained in:
Johanna Amann 2016-09-29 13:36:47 -07:00
parent 35465aaf30
commit f66ef7b1e6
2 changed files with 7 additions and 7 deletions

View file

@ -23,7 +23,7 @@ Version::parse(bro_version());
@TEST-START-NEXT
@if ( Version::num >= 20500 )
@if ( Version::number >= 20500 )
print "yup";
@endif
@ -31,10 +31,10 @@ print "yup";
print "yup";
@endif
@if ( Version::greater_equal("2.5") )
@if ( Version::at_least("2.5") )
print "yup";
@endif
@if ( Version::greater_equal("2.4") )
@if ( Version::at_least("2.4") )
print "no";
@endif